Creates an action that performs an inverse kinematic reach.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The node whose position the current node should move closer to.
The highest level ancestor of the target node that should be rotated.
The length of the animation.
A new action object.
This action is typically used to implement character animation across a series of moving parts. When the action executes, it performs an inverse kinematic calculation to determine new rotation values for the target node and any of its ancestors up to and including the root node. Each node is rotated around its anchor point in an attempt to get the targeted node’s position closer to the intended destination. Each node’s rotation value is constrained by that node’s
reach property. If the action cannot successfully reach the target position, it gets the node as close as it can to the target position.
This action is not reversible; the reverse of this action is the same action.