Hinge Joint
[Joints]
Detailed Description
A two-axis hinge 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 rotation for the first degree of freedom
- Default: 0 0 1
- lowStop (float, degrees)
- The low stop angle for the first degree of freedom
- Default: infinity
- highStop (float, degrees)
- The high stop angle for the first degree of freedom
- Default: infinity
- body1 (string)
- Example
<joint:hinge name="hinge_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:hinge>
Classes | |
class | HingeJoint |
A single axis hinge joint. More... |