I was wondering if anyone else has run into this or has seen this.
I have a engine that I am working on that uses Newton Physics to move and rotate objects. Fair enough. I am running a test in which, through my AI, move a object from point A to point B. This is done by applying a LOCAL force to the object, in this case a 1 meter in size box.
I have added the upvector for movement so the object does not fall over and I am manipulating the static friction value between the two materials that belong to the box and the floor.
The box moves from Point A to Point B, and then something strange happens, the box actually starts moving backwards. ??? I am applying no other forces (except for gravity but Newton is doing that) to this object, why is is moving backwards? The movement backwards is not nearly at the same rate as the test movment, but yet it still moves. Autofreeze is off so the object is constantly active.
At first I thought it might be that the static friction is not being re-applied, but according to my debug log it is. Then I thought somewhere I had the world at an angle but it is not. I also, in my code, set the velocity of the object to zero once it reaches it's destination. That did not solve the problem.
Has anyone else experienced this? Also when using the Linear solver model, what do you have set for your loop count? Is 5 too low, too high. Since the solver calc's out the acceleration, do I need to adjust that?
Any help would be greatly appreciated. Thanks.
Cassius