Difference between revisions of "NewtonBallGetJointOmega"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonBallGetJointOmega
void NewtonBallGetJointOmega( const NewtonJoint* ball, dFloat* omega)
Usage
Get the relative joint angular velocity between the two bodies.
Parameters
- const NewtonJoint *ball - pointer to the joint.
- dFloat *omega - pointer to an array of a least three floats to hold the joint relative angular velocity.
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 play the creaky noise of a hanging lamp.