Bouncing vehicle
Posted: Sat Sep 18, 2010 1:35 am
Hello,
I'm working on a project that uses a vehicle with the raycast wheels.
I setup something similar to the windows phone sdk vehicle sample (same bodies and wheels). The ground is a box.
My problem is that when the wheels touch the ground, they bounce up pretty violently up (i'm outputing the translation of the transformation matrix) and it looks like it causes the car to react and bounce indefinitely... It feels like the spring is either completely relaxed of completely compressed, no middle values...
The stiffness, damping, rest length, compound bodies dimensions, masses are exactly the same as the demo... yet it bounces for me...
The simulation is otherwise pretty stable judging by another test of a cube/box that settles on the same ground with no issues...
Do you guys have any idea what could be causing this bouncing in my code and not in the demo?
Thanks!
Matt
I'm working on a project that uses a vehicle with the raycast wheels.
I setup something similar to the windows phone sdk vehicle sample (same bodies and wheels). The ground is a box.
My problem is that when the wheels touch the ground, they bounce up pretty violently up (i'm outputing the translation of the transformation matrix) and it looks like it causes the car to react and bounce indefinitely... It feels like the spring is either completely relaxed of completely compressed, no middle values...
The stiffness, damping, rest length, compound bodies dimensions, masses are exactly the same as the demo... yet it bounces for me...
The simulation is otherwise pretty stable judging by another test of a cube/box that settles on the same ground with no issues...
Do you guys have any idea what could be causing this bouncing in my code and not in the demo?
Thanks!
Matt