Game Development Reference
In-Depth Information
The walkable climb height
As our agents are represented by capsules, they will inherently walk over small, uneven
areas in the environment. The walkable climb height represents the maximum vertical
height of an obstacle our agents can step over. If the value is too large, our agents will get
stuck on geometry that Detour thinks the agent should be able to pass over. A reasonable
default value is half of the radius of the agent, which accounts for the curvature in the cap-
sule.
A navigation mesh with a climb height of 0.15 meters
As our agents have a radius of 0.3 meters, using half of the radius as the climb height will
produce the navigation mesh seen in the previous screenshot. If our agents can step over
objects as tall as a meter, we can generate a navmesh with a climb height of 1 meter, as
shown in the following screenshot:
Search WWH ::




Custom Search