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

void TA::PhysicsJoint::InitialiseVectorConstraint (
const Vec3 &   v3LimitCenterDirection,
float   fMaxAngle
 

Call this function to initialise the joint as a Vector Constraint. The rotation away from v3LimitCenterDirection is limited between the two objects.

Note:
To create a joint, use TA::DynamicObject::AddJoint.
See Also
TA::physicsJoint::InitialiseVectorConstraintEx.
Parameters:
v3LimitCenterDirection
A normalised vector that points along the center axis of the of the joint. Specified in world space.
fMaxAngle
The maximum angle from the center axis that the joint is allowed to bend.



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