Version: 2018.4
NavMesh Modifier
NavMesh Link

NavMesh Modifier Volume

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.

A NavMesh Modifier Volume component open in the Inspector window
A NavMesh Modifier Volume component open in the Inspector window
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

NavMesh Modifier
NavMesh Link
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961