Instance Property

reachConstraints

The reach constraints to apply to the node when executing a reach action.

Declaration

@property(nonatomic, copy) SKReachConstraints *reachConstraints;

Discussion

To use inverse kinematics, create a new SKReachConstraints object and assign it to this property. When a reach action calculates the new positions of this node, the possible values for this node are restricted to the constraints defined by this object. For more information on the inverse kinematic actions, see SKAction.

See Also

Constraining Node Position or Rotation

constraints

A list of constraints to apply to the node.