Pathfinding Overview

From Second Life Wiki
Revision as of 14:40, 30 June 2012 by Falcon Linden (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. It's a map for characters.

Functions

  • Evade - Run (and or hide) from a specified avatar or object.
  • Flee - Move a specified distance from a specified location.
  • 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.
  • Actions - Make the character jump or stop the current pathfinding behavior
  • Update - Modify the pathfinding attributes of the character
  • Get a Path - Request a path for an object other than a pathfinding character

Return to Good_Building_Practices