[ODE] fake car physics
Jon Watte (ODE)
hplus-ode at mindcontrol.org
Mon Aug 8 09:16:46 MST 2005
> Thanks for the answer! I already know Carworld and it certainly helped me a
> lot. One major problem I have at the moment is that when I hit a wall my car
> bounces back, flips over or comes to a complete stop. While this may be
> correct, it is not what I want. I would like the car to keep "sliding" along
> the wall in the right direction - or maybe bounce back a bit, slow down a
> bit but keep going in the right direction anyway. Has anyone done something
> like this?
You can achieve that by special-casing the contact joints you create
between car and "slidey" walls. You may wish to set the "moving surface"
flag on the walls. You may also want to tweak the normals to point more
in the direction of car movement.
Cheers,
/ h+
More information about the ODE
mailing list