An agent that operates in a three-dimensional space.
- iOS 9.0+
- macOS 10.11+
- tvOS 9.0+
Agents are game entities that move according to realistic constraints and whose behavior is determined by goals that motivate movement. The general functionality of an agent is defined by the abstract superclass
GKAgent; however, you use instances of the
GKAgent3D class to implement agent-based gameplay in a 3D game.