官术网_书友最值得收藏!

Nav Modifier Volume

Alright  it's time to look at how we can start modifying the Nav Mesh. For instance, there might be a part of the Nav Mesh that we don't want to be crossable, or another section that we want to have different properties. We can do this by using a Nav Modifier Volume.

You can find this setting by going to the Mode panel, under the Volumes tab, and then by going to the Nav Mesh Bounds Volume:

Once this volume has been placed in the map, the default value is to remove the part of the Nav Mesh within the volume, as shown in the following screenshot:

This is useful when you have areas that you don't want your AI to go in, or fix up artifacts of your navigation mesh. Although the Nav Modifier Volume specifies a part of the map, the behavior is specified in the Nav Mesh Areas. This means that, if we look at the settings of the Nav Mesh Modifier Volume, we can find only one related to the Navigation, named Area Class:

As a result, this volume can only specify a portion of the map in which a specific Area Class is applied. By default, the Area Class is NavArea_Null, which "removes" the Nav Mesh in that portion of the map that's overlapping this volume. We'll explore how Nav Mesh Areas work in the next section.

主站蜘蛛池模板: 宁安市| 图片| 仁寿县| 长子县| 胶州市| 水城县| 胶南市| 监利县| 巴塘县| 山东| 桦川县| 宜兴市| 阜南县| 正定县| 龙岩市| 道真| 万山特区| 临沂市| 巴楚县| 松桃| 资兴市| 菏泽市| 新竹县| 沁阳市| 阳泉市| 海丰县| 师宗县| 永宁县| 界首市| 茂名市| 酒泉市| 海城市| 茶陵县| 鹤山市| 漠河县| 宁乡县| 惠水县| 宁明县| 宣汉县| 华坪县| 喀什市|