Difference between revisions of "NewtonBallGetJointAngle"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 08:02, 10 June 2019
NewtonBallGetJointAngle
void NewtonBallGetJointAngle (const NewtonJoint* ball, dFloat* angle);
Usage
Get the relative joint angle between the two bodies.
Parameters
- const NewtonJoint *ball - pointer to the joint.
- dFloat *angle - pointer to an array of a least three floats to hold the joint relative Euler angles.
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 a bell sound when the joint angle passes some max value.