Menu
Lumberyard
Getting Started Guide (Version 1.14)

Defining the AI Navigation Area

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn more about legacy features, see the Amazon Lumberyard Legacy Reference.

The AI navigation area is the traversable area for the AI characters.

In this tutorial you use a legacy feature called Rollup Bar to define the AI navigation area.

To define the AI navigation area

  1. Open the Rollup Bar by clicking Tools, RollupBar (LEGACY).

  2. Under Objects, click AI.

    Under Object Type, click NavigationArea.

  3. The Navigation Area tool is a point-and-click shape builder. You'll create a box that is within the AiTrigger volume that you created earlier in this tutorial.

    To create the box, click one corner inside the maze walls and then work your way around to the other corners. On the fourth corner, double-click to exit the tool and close the area that you defined.

    Tip

    If the tool restricts you from moving in certain directions, ensure that no directional restrictions are selected in your toolbar.

    Tip

    If you cannot see the outline of the navmesh as you click, you likely have helpers turned off. Turn on helpers in the top toolbar to view the navmesh outline.

  4. Adjust the Z value of the AI navigation area to ensure that it fully intersects with the ground.

    To do this, select the Move tool and then at the bottom of the Perspective Viewport, for the Z value, type 4.9.

  5. Press Ctrl+S to save your level.

Next: Creating AI Spawn Points