A node in a navigation graph, associated with a point in continuous 3D space.
SDKs
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- Gameplay
Kit
Declaration
class GKGraphNode3D : GKGraph Node
Overview
Together, a network of nodes form a graph that describes the navigability of a game world. Use graph nodes with a GKGraph
object to perform actions that relate to the network of nodes as a whole, such as pathfinding to determine routes through the network.
To learn more about graphs and pathfinding, see Pathfinding in GameplayKit Programming Guide.