Contents

currentPath

The computed path to the target position found by requestPath(). If called before the pathfind completes, a partial path will be returned. This partial path may be suboptimal. If the pathfind failed or was not requested, the function will return an empty array.

Declaration

var currentPath: [NavigationMeshResource.PathNode] { get }

See Also

Monitoring pathfinding status