NewtonUpVectorSetPin
NewtonUpVectorSetPin
void NewtonUpVectorSetPin( const NewtonJoint* upVector, const dFloat *pin)
Usage
Set the up vector pin of this joint in global space.
Parameters
- const NewtonJoint *upVector - pointer to the joint.
- dFloat *pin - pointer to an array of a least three floats containing the up vector direction in global space.
Return
- nothing.
Remarks
- the application ca call this function to change the joint up vector, this is useful to animate the up vector. if the application is going to animated the up vector, it must do so by applying only small rotation, too large rotation can cause vibration of the joint.