|
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.
- See also:
- TA::DynamicObject::InitialiseSliderEx.
- Parameters:
-
| v3PosOnA |
| | The position of the joint on this object. Specified in world space. |
| v3StartPosOnB |
| | The start position of the slider constraint. Specified in world space. |
| v3EndPosPosOnB |
| | The end position of the slider constraint. Specified in world space. |
- Examples:
-
SliderJointExample.cpp.
|