User Tools
Sidebar
Using RAIN
AI Characters
Environment
gettingstarted:creatinganavigationmesh
Table of Contents
Creating a Navigation Mesh
This section will introduce you to the Navigation Mesh, and how to create one.
The Navigation Mesh system relies on a mesh path representation to define walkable areas of the environment. The mesh representation is automatically calculated using a technique knows as “Recast”, made popular by Mikko Mononen.
Recast can be used to have detailed pathfinding through areas that require complex obstacle avoidance, or require more flexibility than Waypoints.
For more information be sure to read Navigation Mesh Overview.
Initial Creation
TO Start: Go to the RAIN Menu
- In the RAIN menu, select Create Navigation Mesh.
- This will add a Navigation Mesh object in the hierarchy.
- Selecting the Navigation Mesh object in the hierarchy will display the Nav Mesh Rig in the Inspector.
- Within the Nav Mesh Rig component:
- Default values are already set.
- Adjust Navigation Mesh properties as needed such as Size and Mesh Color for starters.
- Click Generate Navigation Mesh to create.
Next Steps
See Also
Review the AI Navigator to learn how the Navigation Mesh is used in path searching.
gettingstarted/creatinganavigationmesh.txt · Last modified: 2022/08/13 18:13 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported