Difference between revisions of "Visual Guide to Pathfinding"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
* A new Pathfinding region has two types of objects.  The terrain is set to [[Pathfinding_Tools_in_the_Second_Life_Viewer#Example_use_3|Walkable]] (by default and cannot be changed) and the existing objects are set to [[Pathfinding_Tools_in_the_Second_Life_Viewer#Example_use_3|Movable Obstacle]].
* A new Pathfinding region has two types of objects.  The terrain is set to [[Pathfinding_Tools_in_the_Second_Life_Viewer#Example_use_3|Walkable]] (by default and cannot be changed) and the existing objects are set to [[Pathfinding_Tools_in_the_Second_Life_Viewer#Example_use_3|Movable Obstacle]].
* Movable Obstacles will not show up in your navigation mesh view, so your initial view of your region should be the smooth green mesh of the terrain.  Be sure to check the Walkable box in the Pathfinding Debug window (formerly the Edit/Test window).
* Movable Obstacles will not show up in your navigation mesh view, so your initial view of your region will be the smooth green mesh of the terrain.  Be sure to check the Walkable box in the Pathfinding Debug window (formerly the Edit/Test window).
* Begin by making obstacles Static in the Linksets window.  Many of these will be obvious, such as trees and fences.
* Another obvious set of objects are your Walkables.  Floors, roads, docks.


[[File:Pathfinding_002.png|700x371px]]
<gallery>
File:Pathfinding_002.png|Initial Pathfinding view
File:Pathfinding_003.png|Adding Static Obstacles and Walkables
File:Pathfinding_004.png|Adding more of each type
</gallery>

Revision as of 10:39, 15 June 2012

  • A new Pathfinding region has two types of objects. The terrain is set to Walkable (by default and cannot be changed) and the existing objects are set to Movable Obstacle.
  • Movable Obstacles will not show up in your navigation mesh view, so your initial view of your region will be the smooth green mesh of the terrain. Be sure to check the Walkable box in the Pathfinding Debug window (formerly the Edit/Test window).
  • Begin by making obstacles Static in the Linksets window. Many of these will be obvious, such as trees and fences.
  • Another obvious set of objects are your Walkables. Floors, roads, docks.