my car roll , pitch largely, even filp over

kidcdf

25-04-2010 03:57:40

I have set the mass center to the bottom of car, a normal four wheels car, and here is the car material:
decarmaterial->setAll(10, 0.1, 0.1);
decarmaterial->setFrictionCombineMode(NxCombineMode::NX_CM_MULTIPLY);
//scene material , restitution has been raised
NxOgre::SceneParams sp;
sp.setToDefault();
sp.gravity=NxVec3(0,-9.8,0);
sp.defaultMaterialDynamicFriction=0.1;
sp.defaultMaterialStaticFriction=0.1;
sp.defaultMaterialRestitution=1;
I don't wanna freeze the RotX or RotZ, this will cut the reality of the car. when my car hit the wall with the side of car at hight speed (100 KMH), the lateral force will make the car roll to another side, even flip over. I just wanna restrict the degree of rolling when collision happens, whatever the high speed is. Thx.

kidcdf

26-04-2010 13:36:22

HELP..