Creates a hinge joint that anchors a single physics body in space and lets it rotate around a specific axis.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The physics body to be controlled by the hinge joint.
The direction of the axis that the body pivots around, relative to the node containing the body.
The location of the axis in the node containing the body.
A new hinge joint behavior.