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

void TA::PhysicsJoint::InitialiseRotationConstraintEx (
const Mat33 &   m33JointOrientation,
const Mat33 &   m33DefaultRotationA,
const Mat33 &   m33DefaultRotationB,
const EulerAngles &   minAngles,
const EulerAngles &   maxAngles
 

This is an extended version of the function TA::PhysicsJoint::InitialiseRotationConstraint.

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.
Parameters:
m33JointOrientation
The initial orientation of the joint, specified in world space. The angle constraints work in the space specified by this orientation.
m33DefaultRotationA
Used as the orientation of Object A when using m33JointOrientation to calculate the joints default orientation in relation to Object A.
m33DefaultRotationB
Used as the orientation of Object B when using m33JointOrientation to calculate the joints default orientation in relation to Object B.
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.