   possible problems with models
  Okay, so i have code made that rotates models to look at a certain target. It was working perfectly on this mesh called "wilson". Then a few things changed but none of my AI code to turn the models. Again recently, like yesterday, i had it working on this model called "randomChar". Again i havent touched my code.But now its all messed up. The model will look at the target, but if i move the target left the model rotates about 45 degrees to the right and wont budge unless i move the target to the right. Then it will look at the target and follow it as long as i dont go past that limit of the 45 degrees.Again it was working fine there just now when i wanted to check something, but ive tried it after and same problem.What im wondering about is if there could be an issue with the models and how they are oriented? Anyone know of any problem such as this that could be causing the grief? Or any other problems?Im just not thinking its my code as it was working perfectly and i havent touched anything.Cheers   
  There's not likely any difference in the model, though you hardly gave us enough information to make any conclusions.It doesn't sound like you're extracting any information from the model, so it likely is completely unrelated to the model.You should use version control software you so you can be absolutely sure that you haven't changed anything, anywhere. If you changed a matrix library function to work with another bit of code, it probably affected this code.Second, you should use some form of debug drawing geometry to indicate where you intend to place the model. Like 3 orthogonal lines representing the XYZ basis vectors of the model transform. You should be able to orient the transform to "look at" the target point regardless of what model is loaded. Last load a model and assign it the same debug-transform that you've just done testing with.   