NavMesh Setup#
Building NavMesh is a must-have step to enable subsequent tasks, such as Camera Placement and Camera Calibration. More details can be found in the Navigation Mesh.
NavMesh Volume Creation:
Check if there is a NavMeshVolume in your asset scene to cover the navigable area.
If there is a NavMeshVolume, you can jump to the Bake NavMesh section.
If not, go to Stage > Right Click > Create > Navigation > NavMesh Include Volume.
Set the NavMeshVolume to cover the navigable area.
Note
It is recommended to set the height of NavMeshVolume taller than agents (e.g., characters and humanoids) in your scene, but lower than the ceiling.
NavMesh Baking:
Open NavMesh extension. Go to Window > Navigation > NavMesh.
The NavMesh panel is shown below.
Go to Bake Settings > Check whether these parameters are within a reasonable range.
Note
The default settings are as follows: Agent Height: 180, Agent Radius: 25, Agent Max Step Height: 1, and Agent Max Floor Slope: 1.
Click Bake button to build the NavMesh.