Difference between revisions of "NewtonBodySetForce"

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

Latest revision as of 08:02, 10 June 2019


NewtonBodySetForce

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

Usage

Set the net force applied to a rigid body.

Parameters

  • const NewtonBody *bodyPtr - pointer to the body.
  • 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

NewtonBodyAddForce NewtonBodyGetForce