Nav3DPathTester - Nav3D Doc

Docy Child

Nav3DPathTester

We implemented a useful component (Nav3DPathTester), which can be used while building a scene to check how exactly the path passes in different areas.

  • To use it, you should attach the Nav3DPathTester component to any game object in the scene.
  • Use of the Nav3DPathTester is only possible in play mode.

After attaching the component you’ll see its inspector:

The purpose of all parameters is the same as the Nav3DPath.Find() parameters.

Add some game objects that you want to use as pathfinding target points. Then add these objects to the Targets list in the Nav3DPathTester inspector.

In play mode, with Gizmos enabled, you can see how the path passes through the target points.

Below are two examples of pathfinding for the case of three target points, with the Loop option enabled and disabled.

Nav3DSphereShell

Represents a spherical shell that is perceived by other agents as an object to a...

Nav3DEvader

There is also a separate controller, whose behavior consists of just avoiding ne...

Nav3DAgentManager

This class implements several methods to get a list of all Nav3DAgents located i...

Nav3DPathTester

We implemented a useful component (Nav3DPathTester), which can be used while bui...

PathfindingResult

Contains the pathfinding data and time statistics. Time statistics: public TimeS...

Nav3DPath: Events

For the convenience of notification when the pathfinding finished, the following...

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 a config via code

All Nav3DAgentConfig parameters can be configured through the code as well. To ...

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...

Chat Icon Close Icon
en_USEnglish