Difference between revisions of "Pathfinding Overview"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
==Terminology==
==Terminology==
*Character - an object that uses a Pathfinding LSL function.
*Character - an object that uses a Pathfinding LSL function.
*NavMesh - Short for Navigation Mesh.
*NavMesh - Short for Navigation Mesh. It's a map for characters.


==Functions==
==Functions==

Revision as of 15:11, 21 June 2012

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 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