Difference between revisions of "Pathfinding in Second Life"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* [[Pathfinding alpha]] - Information and tips on how to test the alpha version of Pathfinding on the Aditi test grid. | * [[Pathfinding alpha]] - Information and tips on how to test the alpha version of Pathfinding on the Aditi test grid. | ||
* [[Preview_Grid#How_do_I_log_in_to_Aditi.3F|How do I log into the Aditi test grid?]] - This test is being run on the Aditi test grid; for more information, read this article about Aditi and how you can log in. | * [[Preview_Grid#How_do_I_log_in_to_Aditi.3F|How do I log into the Aditi test grid?]] - This test is being run on the Aditi test grid; for more information, read this article about Aditi and how you can log in. | ||
* [[Pathfinding_Tools_in_the_Second_Life_Viewer]] - New tools in the Second Life Viewer to help you manage your Pathfinding characters and their environment. | |||
==Pathfinding API documentation== | ==Pathfinding API documentation== |
Revision as of 11:06, 28 February 2012
Pathfinding alpha information
- Pathfinding alpha - Information and tips on how to test the alpha version of Pathfinding on the Aditi test grid.
- How do I log into the Aditi test grid? - This test is being run on the Aditi test grid; for more information, read this article about Aditi and how you can log in.
- Pathfinding_Tools_in_the_Second_Life_Viewer - New tools in the Second Life Viewer to help you manage your Pathfinding characters and their environment.
Pathfinding API documentation
- Overview of pathfinding - Introduction and overview of pathfinding.
- Pathfinding tutorial - Short "walkthrough" of setting up and using pathfinding. TBD.
- Pathfinding/Alpha release notes - Restrictions, known issues, and so on.
LSL reference
Pathfinding functions
- llCreateCharacter - Convert the current linkset to an AI character. By default, the character's shape will be an upright capsule approximately the size of the linkset, adjustable via the options list. The linkset must use mesh accounting.
- llDeleteCharacter - Convert the current linkset back to a standard object
- llEvade - Causes the character to keep away from the object or avatar identified by the key.
- llExecCharacterCmd - Send a command to the pathing system.
- llFleeFrom - Attempt to get at least 'distance' away from 'source' - provided in region-local coordinates.
- llGetClosestNavPoint - Accepts a point in region-local space and returns either an empty list or a list containing a single vector which is the closest point on the navmesh to the point provided.
- llNavigateTo - Navigate to a destination provided in region coordinates. The destination may be in another region.
- llPatrolPoints - Patrol a provided set of points provided as vectors.
- llPursue - Causes the character to chase after the object or avatar identified by the key.
- llUpdateCharacter - Update character properties.
- llWanderWithin - Wander within an area approximately 'scale' in radius centered at 'origin'. Wandering means choosing a random point in the area and navigating to it. After arrival, a new random point will be chosen and navigated to.
Pathfinding events
- path_update - Informs the script of events that happen within the pathfinding system.