Difference between revisions of "Pathfinding NavMesh"

From Second Life Wiki
Jump to navigation Jump to search
Line 36: Line 36:
<gallery>
<gallery>
File:Exclusion_001.png|Objects set to Exclusion Volume.
File:Exclusion_001.png|Objects set to Exclusion Volume.
File:Exclusion_use_001.png|Used to keep pathfinding characters on the docks.
File:Exclusion_use_002.png|Used here to keep characters from getting stuck on rocks.
</gallery>
</gallery>

Revision as of 13:44, 3 May 2012

A look at the Navigation Mesh view of your region can quickly show you exactly how the navmesh system works and help troubleshoot potential problems.

This is the basic view:

The active Navmesh areas are in light grey, with the static obstacle areas outlined in red. The blank void spaces outlined in red are areas where your pathfinding creatures cannot go. These areas can be easily seen when you turn Static Obstacles on.

In the Test tab of the Edit/Test pathfinding window you can test walkable pathways. Control-click to start your path (pink capsule). Shift-click and drag to see your path (orange capsule and pathway). Pathfinding characters will calculate the fastest way to navigate from point A to point B in the navmesh.

Material Volumes will appear in the navmesh as opaque purple objects. These are phantom objects that can be set to change the walkability coefficient of a pathfinding character (speed).

Exclusion Volumes show up as transparent yellow objects. These objects are phantom and pathfinding characters will not move in those area, yet avatars can.