Game Development Reference
In-Depth Information
For this chapter, I am leaving all the values at their defaults. The Radius property
is used to determine how close to the walls the navigation mesh will exist. Height
determines how much vertical space is needed for the AI agent to be able to walk
on the navigation mesh. Max Slope is the maximum angle that the AI is allowed to
travel on for ramps, hills, and so on. The Step Height property is used to determine
how high the AI can step up onto surfaces higher than the ground level.
For Generated Off Mesh Links , the properties are very similar to each other. The
Drop Height value is the maximum amount of space the AI can intelligently drop
down to another part of the navigation mesh. Jump Distance is the opposite of
Height ; it determines how high the AI can jump up to another part of the navigation
mesh.
The Advanced options are to be used when you have a better understanding of the
NavMesh component and want a little more out of it. Here, you can further tweak the
accuracy of the NavMesh as well as create Height Mesh to coincide with the navig-
ation mesh.
Now that you know all the basics of the Unity NavMesh, let's go ahead and create
our navigation mesh. At the bottom-right corner of the Navigation tab in the Inspect-
Search WWH ::




Custom Search