Contents

NavigationController

An interface for finding paths for an entity moving across a scene’s navigation mesh.

Declaration

struct NavigationController

Overview

Create a navigation controller for an entity, then call requestPath(to:) to start an asynchronous pathfind or computePath(to:) to compute a path immediately. Track pathfindStatus and read currentPath to follow the result.

Topics

Creating a navigation controller

Requesting pathfinding

Computing paths

Monitoring pathfinding status

See Also

Game development