[ODE] ? about dAddBodyForce
jeff at jeffkershner.com
Mon Aug 21 14:13:43 MST 2006
When I press the forward key in my application I call dBodyAddForce and add
100 to the forward direction. But as I hold down the forward key, my speed
seems to keep increasing forever. How do I set a maximum speed?
I tried doing the following:
const dReal* pForce = dBodyGetForce(id);
But pForce, pForce and pForce are always 0. I realize that ODE
will clear these values to 0 at every frame, so this is not the way to do
How else can I do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ODE