
NavMesh Volumes#

Many NavMesh Volumes can be added to the stage as needed by going to Create > Navigation > NavMesh Include/Exclude Volume. NavMesh Include volumes are used to gather all mesh geometry withing the axis-aligned include volume bounds. NavMesh Exclude volumes are used to clip out unwanted mesh geometry from large axis-aligned exclude volume bounds. NavMesh Volumes can be moved and scaled to ensure the right fit. They are axis-aligned, so the rotation is not considered. Multiple NavMesh volumes can be be placed near each other to extend new areas of the NavMesh.
NavMesh Areas#
NavMesh query computations use areas to determine the shortest path or walkable/traversable polygonal surfaces. NavMesh Areas have a name and default cost for travel across a polygon with a certain area. Each stage can define its own NavMesh Areas and costs. There are 2 built-in areas: Walkable and NotWalkable. A NavMesh Area can be assigned to a NavMesh Include Volume and the default is Walkable.
Applying a NavSchema.NavMeshAreaAPI
to any Xform, Mesh or Material in the stage enables a NavMesh Area to be applied to the Mesh, Material or children of such within the Xform. To apply a NavSchema.NavMeshAreaAPI
, Right-click any Xform, Mesh or Material then Add > Navigation > NavMesh Area. Then, using the Property window, change the Navigation Area property within the NavMesh property section to the area from the drop-down.
You can add Areas from the NavMesh window using Window > Navigation > NavMesh from the main menu and going to the Areas section in the window. You can also access the NavMesh window by selecting any NavMesh Volume or Prim with NavSchema.NavMeshAreaAPI
applied and clicking the Edit NavMesh button.
NavMesh API query operations consider the areas when computing the queries. The area costs are then applied only to the contributing polygons. For example, querying for the shortest path on a NavMesh would consider the cost to travel on all polygon based on area travel costs when determining the shortest path between two end-points.