Debug drawing - Nav3D Doc

Docy Child

Debug drawing

In this section, you can visualize the agent and his nearest environment. This should be done with Gizmos enabled on the game scene:

1.Visualization of the agent’s radius.

2. Visualization of normalized agent velocities.

Yellow – the path following velocity vector (the direction vector from the agent’s position to the next target point on the path).

Green – local avoidance vector.

Blue – the blended motion vector (a mixture of the path following vector and the local avoidance vector)

3. Visualization of the path the agent follows.

4. Visualization of nearby agents that can be taken into account when performing local avoidance.

When performing local avoidance, depending on the setting of the allowed number of agents under consideration (in the agent description), the n closest agents will be taken from all nearby agents.

5. Visualization of nearby obstacle triangles that are taken into account when performing local avoidance at the moment.

6. All together.

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