Difference between revisions of "NewtonBodyGetMass"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonBodyGetMass
void NewtonBodyGetMass (const NewtonBody* const body, dFloat* mass, dFloat* const Ixx, dFloat* const Iyy, dFloat* const Izz)
Usage
Get the mass matrix of a rigid body.
Parameters
- const NewtonBody *bodyPtr - pointer to the body.
- dFloat *mass - pointer to a variable that will hold the mass value of the body.
- dFloat *Ixx - pointer to a variable that will hold the moment of inertia of the first principal axis of inertia of the body.
- dFloat *Iyy - pointer to a variable that will hold the moment of inertia of the first principal axis of inertia of the body.
- dFloat *Izz - pointer to a variable that will hold the moment of inertia of the first principal axis of inertia of the body.
Return
- Nothing.