This is an alternate version of the function TA::PhysicsJoint::InitialiseSquareSocket. It uses local coordinates rather then global.
Call this function to initialise the joint as a Slider. The Object A will be constrained to slide along the line that connects the points v3StartPosOnOtherObject and v3StartPosOnOtherObject. Sliders can be useful for simulating sliding doors and lifts. - Note:
- To create a joint, use TA::DynamicObject::AddJoint.
- Parameters:
-
| v3LocalPosOnA |
| | The position of the joint on this object. Specified in space local to Object A. |
| v3LocalStartPosOnB |
| | The start position of the slider constraint. Specified in space local to Object B. |
| v3LocalEndPosPosOnB |
| | The end position of the slider constraint. Specified in space local to Object B. |
|