This is the only command I could find to set the center of gravity.
void dMassSetParameters (dMass *, dReal themass,
dReal cgx, dReal cgy, dReal cgz,
dReal I11, dReal I22, dReal I33,
dReal I12, dReal I13, dReal I23);
Set the mass parameters to the given values. themass is the mass of the body. (cx,cy,cz) is the
center of gravity position in the body frame. The Ixx values are the elements of the inertia matrix:
[ I11 I12 I13 ]
[ I12 I22 I23 ]
[ I13 I23 I33 ]
I have no idea how to use it?
What would this be ? inertia matrix:[ I11 I12 I13 ]
Anyone up to making an example?
void dMassSetParameters (dMass *, dReal themass,
dReal cgx, dReal cgy, dReal cgz,
dReal I11, dReal I22, dReal I33,
dReal I12, dReal I13, dReal I23);
Set the mass parameters to the given values. themass is the mass of the body. (cx,cy,cz) is the
center of gravity position in the body frame. The Ixx values are the elements of the inertia matrix:
[ I11 I12 I13 ]
[ I12 I22 I23 ]
[ I13 I23 I33 ]
I have no idea how to use it?
What would this be ? inertia matrix:[ I11 I12 I13 ]
Anyone up to making an example?