The constraint position.
First body participating in the constraint.
Second body participating in the constraint.
Set to true if you want the connected bodies to collide.
true
Equations to be solved in this constraint
The lower limit on the constraint angle.
Set to true to enable lower limit
The type of constraint. May be one of Constraint.DISTANCE, Constraint.GEAR, Constraint.LOCK, Constraint.PRISMATIC or Constraint.REVOLUTE.
The upper limit on the constraint angle.
Set to true to enable upper limit
Static
DISTANCEStatic
GEARStatic
LOCKStatic
OTHERStatic
PRISMATICStatic
REVOLUTE
Connects two bodies at given offset points, letting them rotate relative to each other around this point.
Example