Difference between revisions of "Pathfinding Overview"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
*[[llExecCharacterCmd|Actions]] - Make the character jump or stop the current pathfinding behavior | *[[llExecCharacterCmd|Actions]] - Make the character jump or stop the current pathfinding behavior | ||
*[[llUpdateCharacter|Update]] - Modify the pathfinding attributes of the character | *[[llUpdateCharacter|Update]] - Modify the pathfinding attributes of the character | ||
*[[llGetStaticPath|Get a Path]] - Request a path for an object other than a pathfinding character | |||
---- | ---- | ||
Return to [[Good_Building_Practices]] | Return to [[Good_Building_Practices]] |
Revision as of 13:40, 30 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
- Get a Path - Request a path for an object other than a pathfinding character
Return to Good_Building_Practices