problem with joint based vehicle

prathap

12-02-2010 06:33:31

hi,
i am creating a vehicle using two separate bodies using joints,every thing going well except when i translate my vehicle to a specified location my vehicle is rotating a while and stopping,how can i overcome this situation.

In my project when my vehicle hits something i need to re spawn my vehicle at a particular point, it is the place i am getting wrong ,if my vehicle is not joint based,my vehicle is behaving properly,but i need the joint based vehicle in my project.Please any one give me a clue how can i overcome this problem.

PJani

12-02-2010 10:21:24

You will need to move all bodies connected to main body according to there offset. Because newton joints are working on relative changes that why your body freaks out.