Adding navigation modifiers
In this section, we are going to create another gym that will let us test nav mesh modifiers – actors that can be used to define areas where the cost to enter an area is different than the regular nav mesh.
We’ll start by creating the level and then by adding the modifiers.
Creating the level
To create our second gym, follow these steps:
- From the main menu, select File | New Level.
- Navigate to the
Maps/LevelInstances
folder and drag an instance of LI_Lighting inside your level; set its transform Location to(0,
0, 0)
. - Navigate to the
Maps/PackedLevelActors
folder and drag an instance of PLA_Lab_04 inside your level; set its transform Location to(0,
0, 0)
. - Save the level in the
Maps
folder and name itGym_NavMesh_02
.Now, repeat the same steps you have done for the previous gym by doing the following:
- Add the Nav Mesh Bounds Volume actor and set its boundaries so they cover the full walkable area.
- Add the...