Nebula
Loading...
Searching...
No Matches
navigationeditor.h File Reference

Detailed Description

The navigation feature's part of the editor.

  • the navmesh asset type, edited in the asset editor, and dropped on the viewport as an entity that loads it
  • the inspector fields of NavArea and NavAgent: the area and the agent kind are picked from what the project has, and an area volume's outline is listed and edited
  • the navigation panel: what the viewport shows, the project's area table, and path tests
  • what the viewport shows and takes the clicks of while an outline is edited or paths are tested

The outline is edited in the viewport: a click on the surface adds a point to the edge closest to it, dragging a point moves it along the surface, Delete over a point or ctrl and a click on it removes it, Escape stops. Points land on the loaded navmeshes, or on a level plane where the mouse misses them.

Go to the source code of this file.