OptionalanchorThe attachment point in world space (§28's anchor), used for both
bodies. Omitted means each body's own origin; overridden per body by
JointOptions.anchorA / JointOptions.anchorB.
OptionalanchorWorld-space attachment point on bodyA, overriding anchor.
OptionalanchorWorld-space attachment point on bodyB, overriding anchor.
Slide axis in world space. Required in both dimensions — a slider with
no direction has nothing to slide along — and must lie in the XY plane in a
"2d" world (§21).
First constrained body (§28's bodyA). Must differ from bodyB.
Second constrained body.
OptionalbreakBreak force in newtons (§28), or omitted for a joint that never breaks.
OptionalbreakBreak torque in newton-metres (§28). See JointOptions.breakForce.
OptionalcollisionWhether the two bodies still collide with each other (§28 "collision
enable/disable"). false by default.
OptionallimitsTravel in metres (§28 "limits"), or unlimited when omitted.
OptionalmotorVelocity motor along the axis (§28 "motors"), or none when omitted.
How a SliderJoint is constructed (§28).