The NavMesh Modifier Volume component is not in the Unity standard install; see documentation on high-level NavMesh building components for information on how to access it.
NavMesh Modifier Volume marks a defined area as a certain type (for example, Lava or Door). Whereas NavMesh Modifier marks certain GameObjects with an area type. NavMesh Modifier Volume allows you to change an area type locally based on a specific volume.
To use the NavMesh Modifier Volume component, navigate to GameObject > AI > NavMesh Modifier Volume.
NavMesh Modifier Volume is useful for marking certain areas of walkable surfaces that might not be represented as separate geometry, for example danger areas. You can also use It to make certain areas non-walkable.
The NavMesh Modifier Volume also affects the NavMesh generation process, meaning the NavMesh has to be updated to reflect any changes to NavMesh Modifier Volumes.
Property | Function |
---|---|
Size | Dimensions of the NavMesh Modifier Volume, defined by XYZ measurements. |
Center | The center of the NavMesh Modifier Volume relative to the GameObject center, defined by XYZ measurements. |
Area Type | Describes the area type to which the NavMesh Modifier Volume applies. - Walkable (this is the default option) - Not Walkable - Jump |
Affected Agents | A selection of Agents the NavMesh Modifier Volume affects. For example, you may choose to make the selected NavMesh Modifier Volume a danger zone for specific Agent types only. - None - All (this is the default option) - Humanoid - Ogre |
2017–05–26 Page published with limited editorial review
New feature in 5.6