The kinds of joint World#addJoint makes. Each maps to the same
joint in every engine that has joints:
"hinge": the two bodies share a point and turn freely about it (a
chain link, a door, a wheel). Optional limits bound the angle.
"rope": the anchors stay within maxLength of each other, and can
come closer (a pendulum, a grappling hook, a cap on a chain's length).
"weld": the two bodies move and turn as one, as they stand when the
joint is made (parts glued together that can break apart).
"slider": the second body slides along axis and keeps its angle to
the first, as it was when the joint was made (a
lift, a piston). Optional limits bound the travel.
The kinds of joint World#addJoint makes. Each maps to the same joint in every engine that has joints:
"hinge": the two bodies share a point and turn freely about it (a chain link, a door, a wheel). Optionallimitsbound the angle."rope": the anchors stay withinmaxLengthof each other, and can come closer (a pendulum, a grappling hook, a cap on a chain's length)."weld": the two bodies move and turn as one, as they stand when the joint is made (parts glued together that can break apart)."slider": the second body slides alongaxisand keeps its angle to the first, as it was when the joint was made (a lift, a piston). Optionallimitsbound the travel.