[ODE] Damping forces

McEvoy, Nick nick.mcevoy at dsto.defence.gov.au
Sun Nov 25 20:09:01 MST 2001


Does ODE have internal damping ?

... say for example I have a space-craft changing direction and I want to
damp its rotation when the pilot applies a force to change its direction ?
This way I can stop my space-craft spinning out of control.

If ODE does not have damping 'built-in' then, I suppose I can apply my own
damping by getting the angular velocity and adding negative torque for that
... AddTorque(-angVel[0]*rate,-angVel[1]*rate,-angVel[2]*rate), where rate
is a small number.

Any suggestions ?

--
Nick McEvoy
ndmcevoy at ozemail.com.au
http://members.ozemail.com.au/~ndmcevoy/




More information about the ODE mailing list