A physics behavior that connects two physics bodies and allows them to pivot around each other in any direction.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
A ball and socket joint has three rotational degrees of freedom and zero translational degrees of freedom. You can also use a ball and socket joint to pin a body to a specific location in the coordinate space of the node containing it while allowing it to rotate freely.