NewtonBodyAddTorque

From Newton Wiki
Revision as of 08:02, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


NewtonBodyAddTorque

void NewtonBodyAddTorque( const NewtonBody* bodyPtr, const dFloat* forcePtr)

Usage

Add the net torque applied to a rigid body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.
  • const dFloat *torquePtr - pointer to an array of 3 floats containing the net torque to be applied to the body.

Return

  • Nothing.

Remarks

See also

NewtonBodySetTorque NewtonBodyGetTorque