<~Creatine~>
01-07-2007 22:22:31
I am wondering how can I make a real brake. I get a lot of nice tips from AGEIA forum:
"You can try changing the longitudalTireForceFunction and lateralTireForceFunction of NxWheelShape to make your wheels drift. Pls. refer to our training program on vehicle. In lesson 703, you can create the wheel with slipTFD as longitudalTireForceFunction or lateralTireForceFunction to see the effect."
But it is not really answer for my problem. I want to stop the gears and skid really.
setBrakeTorque(100.0f); Good, but the rotation of wheels does not stop.
setBrakeTorque(300.0f); The car stands on its head almost.
Can raycast gears stop and skid altogether or can't? Has anybody any idea, tips, tricks?
"You can try changing the longitudalTireForceFunction and lateralTireForceFunction of NxWheelShape to make your wheels drift. Pls. refer to our training program on vehicle. In lesson 703, you can create the wheel with slipTFD as longitudalTireForceFunction or lateralTireForceFunction to see the effect."
But it is not really answer for my problem. I want to stop the gears and skid really.
ateral_tire_asymptoteSlip = 2.0f;
lateral_tire_asymptoteValue = 0.02f;
lateral_tire_extremumSlip = 1.0f;
lateral_tire_extremumValue = 0.02f;
lateral_tire_stiffnessFactor = 2500.0f;
longitudal_tire_asymptoteSlip = 2.0f;
longitudal_tire_asymptoteValue = 0.02f;
longitudal_tire_extremumSlip = 1.0f;
longitudal_tire_extremumValue = 0.02f;
longitudal_tire_stiffnessFactor = 50000.0f;
suspension_damper = 50.0f;
suspension_spring = 3500.0f;
suspension_target = 5.0f;
suspension_travel = 10.0f;
setAcceleration(2.0f); //forward
setBrakeTorque(100.0f); Good, but the rotation of wheels does not stop.
setBrakeTorque(300.0f); The car stands on its head almost.
Can raycast gears stop and skid altogether or can't? Has anybody any idea, tips, tricks?