Pathfinding Overview

From Second Life Wiki
Revision as of 07:54, 21 June 2012 by Hyper Mole (talk | contribs)
Jump to navigation Jump to search

Pathfinding is a method content creators can use to create moving and interactive characters within Second Life. Characters can use LSL functions to avoid obstacles, move around corners, climb inclines, and move across region boundaries: things that are very difficult or even impossible before. Pathfinding will also enable new gameplay mechanics, such as creating food that attracts monsters.

Terminology

  • Character - an object that uses a Pathfinding LSL function.
  • NavMesh - Short for Navigation Mesh.

Functions

  • Evade - Run from a specified avatar or object.
  • Flee - Move a specified distance from a specified location.
  • Hop
  • Navigate - Move to a specified location.
  • Patrol - Move along a specified path specified by patrol points.
  • Pursue - Follow specified avatar or object.
  • Wander - Randomly wander a specified distance from a specified central point.

Return to Good_Building_Practices