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

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.

主站蜘蛛池模板: 合阳县| 麦盖提县| 邹城市| 楚雄市| 扬州市| 建阳市| 清水河县| 星座| 察隅县| 张家界市| 景德镇市| 土默特左旗| 化德县| 潼南县| 灵璧县| 阿克陶县| 安阳市| 科技| 枞阳县| 德保县| 丰台区| 龙门县| 金秀| 桐乡市| 加查县| 浙江省| 高邮市| 阳新县| 宁强县| 霍州市| 苏尼特右旗| 宜州市| 天柱县| 正安县| 盐池县| 南投县| 襄垣县| 时尚| 顺义区| 汉中市| 和平县|