True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::PhysicsJoint::InitialiseRotationConstraint (
const Mat33 &   m33JointOrientation,
const EulerAngles &   minAngles,
const EulerAngles &   maxAngles
 

Call function to initialise the joint as a Rotation Constraint. Rotation is constrained by the max and min euler angles. Position is not constraint.

Note:
To create a joint, use TA::DynamicObject::AddJoint.
See Also
TA::PhysicsJoint::InitialiseRotationConstraintEx.
Parameters:
m33JointOrientation
The initial orientation of the joint, specified in world space. The angle constraints work in the space specified by this orientation.
minAngles
The minimum euler angle constraints. To ignore a constraint use the value TA::JOINT_LIMIT_DISABLED.
maxAngles
The maximum euler angle constraints. To ignore a constraint use the value TA::JOINT_LIMIT_DISABLED.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.