Spr
08-10-2009 13:29:37
Hello,
I am loading a scene using OgreMax, and then loading an another object separately and then trying to translate the object. This Object is a Kinematic body and I am translating it using moveGlobalPosition() function.
But I am having problems here, say for e.g. I translate the body in +x direction for a certain distance, and then translate it back in -x direction, with 0(Zero) translation in both y and z axes, the body is not moving in a straight line, i.e. if I keep moving it back and forth it keeps moving in almost a diagonal direction.
What could be the reason here? Any idea.
I would really appreciate any bit of help. I hope I have explained my problem clearly.
SPR
I am loading a scene using OgreMax, and then loading an another object separately and then trying to translate the object. This Object is a Kinematic body and I am translating it using moveGlobalPosition() function.
But I am having problems here, say for e.g. I translate the body in +x direction for a certain distance, and then translate it back in -x direction, with 0(Zero) translation in both y and z axes, the body is not moving in a straight line, i.e. if I keep moving it back and forth it keeps moving in almost a diagonal direction.
What could be the reason here? Any idea.
I would really appreciate any bit of help. I hope I have explained my problem clearly.
SPR