Game Development Reference
In-Depth Information
The walkable radius
The agents' radius is used during mesh generation to determine areas where the agent can
walk. As agents can be on any part of the navigation mesh, the border is trimmed to pre-
vent the agent from bumping into walls. Usually, it's advisable to give a bit extra to the
walkable radius in order to distance how close the agent will move alongside walls. In par-
ticular, steering behaviors might push the agent slightly off their path, causing agents to
collide with our sandbox geometry.
A navigation mesh with a 0.075 radius padding on top of the agent's default radius of 0.3
Padding our agent's walkable radius to 0.375 meters makes the navmesh shown in the pre-
ceding screenshot proceed. If our agents had a smaller radius of 0.1875, the generated
navmesh would look similar to the following screenshot:
Search WWH ::




Custom Search