Too much bounce when hitting objects

josedagardner

26-10-2006 12:12:09

I'm making a racing game and there is too much bounce when the car hits objects. For instance, if I hit a bridge, the car bounces up and loses control. I want the car to just ride the bridge.

I've set elasticity and softness which makes the car not bounce when it lands back on the ground (that's good), but it doesn't help enough on hitting objects.


mat_pair->setDefaultFriction(0,0);
mat_pair->setDefaultElasticity(0);
mat_pair->setDefaultSoftness(1);


I'm not using the built in vehicle object - I built all the physics myself for better control. I'm using a convex hull for the car and CalcEllipsoidSolid for the inertia. Ellipsoid bounces less than Box. I set center of mass to (0,-2,0) which helped a bit.

What is the recommended way to reduce this bouncing?

denreaper

26-10-2006 22:45:19

Not a great solution, but perhaps you could create an invisible entity which makes your car approach the bump more slowly, or better yet make your shocks more springy, or make shocks if you don't have them already.