Tells the delegate that an agent is about to perform its next simulation step.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
The agent object that will perform its next simulation step.
Implement this method when you want to update the agent simulation with data from an external source, such as node position and orientation information updated by the SceneKit or SpriteKit physics engine. Set the
rotation properties of the agent (as a
GKAgent3D object) so that the next simulation step will take your changes to those properties into account.