[ODE] damping functions

Jean-Sébastien Guay jean-sebastien.guay at polymtl.ca
Sun Nov 25 11:41:03 MST 2007


>> dDamp(dBodyID body, dReal scale);
> After some tests here, I'm not sure you'll use the same scale for both
> linear and angular damp; so I left this one out.

Why not:
     dBodyDamp(dBodyID body, dReal linearScale, dReal angularScale);
(just a one-line convenience that calls the two others...)

     dBodyDamp(body, 0.01, 0.05);
is still shorter and less verbose (but also less explicit, sure...) than
     dBodyDampLinear(body, 0.01);
     dBodyDampAngular(body, 0.05);

Jean-Sebastien Guay     jean-sebastien.guay at polymtl.ca

This message was sent using IMP, the Internet Messaging Program.

More information about the ODE mailing list