Slider Joint
[Joints]
Detailed Description
A slider joint- Attributes
- body1 (string)
- Name of the first body to attach to the joint
- body2 (string)
- Name of the second body to attach to the joint
- anchor (string)
- Name of the body which will act as the anchor to the joint
- axis (float, tuple)
- Defines the axis of movement
- Default: 0 0 1
- lowStop (float, meters)
- The low stop position
- Default: infinity
- highStop (float, meters)
- The high stop position
- Default: infinity
- body1 (string)
- Example
<joint:slider name="slider_joint> <body1>body1_name</body1> <body2>body2_name</body2> <anchor>anchor_body</anchor> <axis>0 0 1</axis> <lowStop>0</lowStop> <highStop>30</highStop> </joint:slider>
Classes | |
class | SliderJoint |