[ODE] Warnings about dMass

Christoph Beyer boernerb at web.de
Tue Sep 12 03:11:24 MST 2006


it looks like you put the wrong values in the dMassSetParameters-function!/
/Try to use some easyer functions like:

ODE_API void dMassSetSphere (dMass *, dReal density, dReal radius);
ODE_API void dMassSetSphereTotal (dMass *, dReal total_mass, dReal radius);

ODE_API void dMassSetCylinder (dMass *, dReal density, int direction,
               dReal radius, dReal length);
ODE_API void dMassSetCylinderTotal (dMass *, dReal total_mass, int 
direction,
                dReal radius, dReal length);

ODE_API void dMassSetBox (dMass *, dReal density,
          dReal lx, dReal ly, dReal lz);

etc....

discriptions of this fuctions are found in the ode wiki:  
http://opende.sourceforge.net/wiki/index.php/Manual_%28Support_Functions%29


Bye
Chris

//


More information about the ODE mailing list