Base class: Object
The Navmesh class provides an interface for pathfinding. A NavAgent can use a NavMesh object to navigate through a scene.
| Parmeter | Type | Description |
|---|---|---|
| Build | Method | builds the navigation mesh |
| PlotPath | Method | plots a series of points between the starting point and destination |
| RandomPoint | Method | returns a random point on the navigation mesh |
| SetDebugging | Method | sets the navmesh Visualization mode |
| SetPosition | Method | moves to navigation mesh to the specified position |
| SetRotation | Method | turns to navigation mesh to the specified rotation |
| CreateNavMesh | Function | creates a new navigation mesh |