Setting up the interior navigation
In this recipe, we will demonstrate how you may be able to get your AI to navigate on top of objects as well as interiors.
Getting ready
Before we begin, you must have Sandbox 3 open
Then open
My_Level.cry
Build a platform from the Solids tool to the dimensions of
20 x 20 x 5
Again, using the Solids tool, build a ramp that leads up to the platform
Also, be sure to cover the ground section around the solid with a forbidden area (see the Forbidden areas recipe)
How to do it...
AI Navigation Modifier: Before we place down any of the nodes required for navigation, we must first outline the area that we want the AI to perceive as an interior navigation. We do this by creating an area around the object known as an AI Navigation Modifier.
In the RollupBar, click on the AI button.
From the Object Type, select AINavigationModifier.
With the Follow Terrain enabled and Grid Snap set to 1 meter, click eight points that surround the platform and the ramp (remember to double...