A physics behavior that connects two bodies and allows them to slide against each other and rotate around their connecting points.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
A slider joint can have zero, one, or two degrees of freedom depending on whether you allow it to slide or rotate. You can also use a slider joint to pin a body so that it can move only by sliding a specific axis in the coordinate space of the node containing it. You can also use a slider joint as a motor, applying a force or torque to the bodies it connects.