Difference between revisions of "NewtonCorkscrewGetJointVeloc"

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

Latest revision as of 08:02, 10 June 2019

NewtonCorkscrewGetJointVeloc

dFloat NewtonCorkscrewGetJointVeloc(const NewtonJoint* Corkscrew)

Usage

Get the relative joint angular velocity between the two bodies.

Parameters

  • const NewtonJoint *Corkscrew - pointer to the joint.

Return

  • the joint angular velocity relative to the pin axis.

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 play the creaky noise of a hanging lamp.

See also

NewtonCorkscrewSetUserCallback