[ODE] dBodyGetTorque & dBodyGetForce confusion

Megan Fox shalinor at circustent.us
Mon Jul 26 21:13:34 MST 2004


Couldn't you also use dBodyGetLinearVelocity and 
dBodyGetAngularVelocity? (grabbing the mass as well to determine 
what force will be applied upon the next time step)

-Megan Fox

>   You will see those functions just return body's temporary variable.
>   Those variables will be reset to 0 after each physical step. So the
>   main purpose of those function is shorthand in the internal code
>   (between the physical step). So to actually get the force and torque
>   applied to each body, use force feedback feature.



More information about the ODE mailing list