Hi all,
I'm trying to design a car game using ODE (Open Dynamics Engine). I've got
the basic rendering etc. and I'm now moving on to the physics part of the
car. I have a gearbox installed that gives me the torque for a given
throttle position and wheel rotation rate. I'm using a locked hinge2 joint
for the wheels attachment. But when I apply the torque to the wheel myself
[using dBodyAddTorque() function] or using the built in motor functions [by
setting dJointSetHinge2Param (jointID, dParamFMax2,
torque_delivered_by_engine); and setting the desired_speed to a high value]
the car becomes highly unstable! The axle of the backwheel starts behaving
in weird ways, turning and twisting by itself due to the numerical errors
being developed by the high speed of the wheels. I've already tried the fix
given at ODE's website
http://www.racesimcentral.net/#ref109 . But I'm
still getting the same problems though to a lesser degree. Does anyone have
a _real_ solution to this problem of mine?
Regards,
--
A Simulator n00b.