rec.autos.simulators

Simulator n00b

Ahmad Shari

Simulator n00b

by Ahmad Shari » Fri, 19 Mar 2004 16:07:58

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.

rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.