Sets the rotation limit, in degrees, for the specified node.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The maximum rotation, in degrees, that SceneKit should apply to the specified node when evaluating the constraint.
When SceneKit evaluates the IK constraint, it checks the target orientations of each node in the chain relative to their initial orientations (as of when the constraint was applied to a node). For each node in the chain, SceneKit limits the rotation (in any direction) between the initial and target orientations to the
angle value specified with this method.
The default rotation limit for each joint is 180 degrees in either direction, allowing unconstrained rotation.