Game Development Reference
In-Depth Information
Figure 2-40. Generated NavMesh sometimes hovers above the true scene floor
In some cases, such as with terrains, this problem can be fixed by enabling the Height Mesh check
box and then rebaking the NavMesh. But more often, it's solved by reducing the Height Inaccuracy
setting, under the Advanced group in the Navigation window. Be sure to rebake the NavMesh on
editing each setting. For my CMOD level, I reduced Height Inaccuracy from 15 to 1 (see Figure 2-41 ).
Figure 2-41. Adjusting height inaccuracy to position NavMesh onto the floor
Note More information on navigation meshes can be found at the online Unity documentation at
http://docs.unity3d.com/Documentation/Manual/NavmeshandPathfinding.html .
 
Search WWH ::




Custom Search