Difference between revisions of "NewtonBodyGetInvMass"

From Newton Wiki
Jump to: navigation, search
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:02, 10 June 2019

NewtonBodyGetInvMass

void NewtonBodyGetInvMass( const NewtonBody* bodyPtr, dFloat* invMass, dFloat* invIxx, dFloat* invIyy, dFloat* invIzz)

Usage

Get the inverse mass matrix of a rigid body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.
  • dFloat *invMass - pointer to a variable that will hold the mass inverse value of the body.
  • dFloat *invIxx - pointer to a variable that will hold the moment of inertia inverse of the first principal axis of inertia of the body.
  • dFloat *invIyy - pointer to a variable that will hold the moment of inertia inverse of the first principal axis of inertia of the body.
  • dFloat *invIzz - pointer to a variable that will hold the moment of inertia inverse of the first principal axis of inertia of the body.

Return

  • Nothing.

See also

NewtonBodySetMassMatrix NewtonBodyGetMassMatrix