The abstract superclass for objects that automatically adjust the position, rotation, or scale of a node based on specified rules.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
To control the transform (position, rotation, and scale) of one or more
SCNNode objects with constraints, create and configure instances of the
SCNConstraint subclass that provides the behavior you want, then add those constraint objects to each node's
When SceneKit prepares to render a scene, it examines the list of constraints attached to each node to determine the transform for that node, then applies the new transformation before displaying the scene.