A Boolean value that specifies whether constrained nodes are allowed to rotate.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
If the value of this property is
true, constrained nodes are limited in rotation around a roll axis (the vector pointing from the constrained node to the target node). If the value of this property is
false (the default), constrained nodes rotate freely around this axis when the constraint adjusts their orientation.
For example, when constraining a camera to follow a moving object, setting this property to
true ensures that the horizon remains level from the camera’s point of view.