NewtonBodySetTorque

From Newton Wiki
Jump to: navigation, search


NewtonBodySetTorque

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

Usage

Set 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

NewtonBodyAddTorque NewtonBodyGetTorque