NewtonBodyAddForce

From Newton Wiki
Jump to: navigation, search


NewtonBodyAddForce

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

Usage

Add the net force applied to a rigid body.

Parameters

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

Return

  • Nothing.

Remarks

See also

NewtonBodySetForce NewtonBodyGetForce