|
This is an extended version of the function TA::PhysicsJoint::InitialiseVectorConstraint.
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.
- Parameters:
-
| v3LocalLimitCenterDirectionOnA |
| | A normalised vector that points along the center axis of the of the joint, relative to Object A. Specified in local space to Object A. |
| v3LocalLimitCenterDirectionOnB |
| | A normalised vector that points along the center axis of the of the joint, relative to Object B. Specified in local space to Object B. |
| fMaxAngle |
| | The maximum angle allowed between v3LocalLimitCenterDirectionOnA and v3LocalLimitCenterDirectionOnB. (radians). To ignore a constraint use the value TA::JOINT_LIMIT_DISABLED. |
|