Difference between revisions of "Pathfinding Overview"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:


==Functions==
==Functions==
*Evade - Run (and or hide) from a specified avatar or object.
*[[LlEvade|Evade]] - Run (and or hide) from a specified avatar or object.
*Flee - Move a specified distance from a specified location.  
*[[LlFleeFrom|Flee]] - Move a specified distance from a specified location.  
*Hop
*[[LlNavigateTo|Navigate]] - Move to a specified location.
*Navigate - Move to a specified location.
*[[llPatrolPoints|Patrol]] - Move along a specified path specified by patrol points.
*Patrol - Move along a specified path specified by patrol points.
*[[LlPursue|Pursue]] - Follow specified avatar or object.
*Pursue - Follow specified avatar or object.
*[[LlWanderWithin|Wander]] - Randomly wander a specified distance from a specified central point.
*Wander - Randomly wander a specified distance from a specified central point.
*[[llExecCharacterCmd|Actions]] - Make the character jump or stop the current pathfinding behavior
 
*[[llUpdateCharacter|Update]] - Modify the pathfinding attributes of the character
----
----
Return to [[Good_Building_Practices]]
Return to [[Good_Building_Practices]]

Revision as of 15:03, 29 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 (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

Return to Good_Building_Practices