Nav3DPathfindingManager

This class contains tools for working with pathfinding in the scene.

To achieve the required level of performance when using Nav3D, the following properties can be useful:

  • public static int CurrentPathfindingTasksCount – shows how many parallel pathfinding tasks are currently active;
  • public static int MaxPathfindingTasks – allows you to set a limit on the maximum number of pathfinding tasks running at the same time. By default, this property is set to Environment.ProcessorCount - 1

There is also a public static Path PrefetchPath(Vector3 _PointA, Vector3 _PointB) method to create a Path instance. Its application is discussed below.