Nav3DPathfindingManager - Nav3D Doc

Docy Child

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.

Agent log

Here you can copy the contents of the agent log to the clipboard by clicking the...

Debug drawing

In this section, you can visualize the agent and his nearest environment. This s...

Creating and configuring an agent description from code

All Nav3DAgentDescription parameters configured in the description inspector c...

Nav3DManager

Nav3DManager is a helper static class. Can be useful for checking whether Nav3D ...

Nav3DInitializer

To use Nav3D in playmode, you need to initialize it. The Nav3DInitializer compon...

Nav3DObstacleLoader

To use the possibility of pre-baking obstacles on the scene in editor mode and t...

Nav3DObstacle

To manage obstacles on the scene, the Nav3DObstacle component is designed. Attac...

Obstacle combinations

We will call obstacles with the selected processing mode “Runtime” as runtim...

Operations with obstacles

Regardless of the obstacle processing mode, the processing procedure consists of...

Deeper dive into obstacles

As already described above, in order for an obstacle to be taken into account du...

Nav3DAgent : Debug

The Nav3DAgent has an inspector that provides several useful functions to help w...

Nav3DAgent

As mentioned above, you can use the Nav3DAgent script as a component for your ga...

Chat Icon Close Icon
en_USEnglish