NewtonBallGetJointForce

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

NewtonBallGetJointForce

void NewtonBallGetJointForce( const NewtonJoint* ball, dFloat* force)

Usage

Get the total force asserted over the joint pivot point, to maintain the constraint.

Parameters

  • const NewtonJoint *ball - pointer to the joint.
  • dFloat *force - pointer to an array of a least three floats to hold the force value of the joint.

Return

  • nothing.

Remarks

  • this function can be used during a function update call back to provide the application with some special effect. for example the application can destroy the joint if the force exceeds some predefined value.

See also

NewtonBallSetUserCallback