Box2d Vehicle Joint Problem

Hi all, i am creating box2d vehicles using this tutorial http://kevinkaisun.blogspot.com/2011/09 ... -with.html

The problem is that i can apply motor speed on revolute joints upto some certain value, if i apply more, the tyres are getting displaced from the main body, they behave like spring and move backwards away from the main body. What could be the problem? please help me.
This can happen if the wheels are very light compared to the main body mass. You could try making the wheels and the main body more similar masses.
irresistible force wrote:This can happen if the wheels are very light compared to the main body mass. You could try making the wheels and the main body more similar masses.


i have made the masses same but still that problem
What is the result of GetMass for each body?
irresistible force wrote:What is the result of GetMass for each body?


I have put the mass of both wheels and body equal to .2. Now when i print the mass in the update function, its showing body mass= .487, front wheel = .103, rear wheel = .103
Hm... those masses seem close enough not to be a problem. Is there any heavy weight on the car body? Maybe you could give some source code so we can try this and see how it happens.

Original thread: https://box2d.org/forum/viewtopic.php?t=9065