In the Official Second Life Blog earlier this week, Linden Labs offered a "sneak peek" of their experiments with "Pathfinding."
Pathfinding is a new set of LSL calls and Viewer tools that allow for smoother and smarter movement for non-player characters and objects in Second Life. These new tools will allow Residents to create objects that move around corners, climb inclines and cross region boundaries. Newly created functions such as “pursue,” “patrol,” “wander,” “evade,” and go to a specified point — all of which are particularly useful for pet, NPC and enemy behavior — will allow for non player movements and behaviors never before possible in Second Life.
Pathfinding is efficient because it allows creators to place a much larger number of moving objects in a particular area without affecting server performance. Because the algorithmic complexity is on the server side, Residents can easily script with short and intuitive LSL functions that make creating a pet that follows you around as simple as rezzing a box.
As part of the pathfinding project, Linden Lab will also introduce new Viewer-side tools that will allow Residents to more efficiently create, visualize, test and debug Pathfinding-enabled characters. These tools are not required to create pathfinding behaviors but are particularly useful to builders and experience creators in second life.
Additional pathfinding tools, and the ability to generate your own pathing data, will be put in Beta in the coming weeks. Linden Lab will begin releasing these tools to all Residents in the next several months. You can try out the new LSL functionality in select regions for which we have prepared pathfinding data.
Among the comments after the video was one referencing the changing path after the obstacle was placed in the Pathfinding object's way, "this is a gaming technique not even the most popular MMORPGs seem to know how to get right, and you guys managed to pull it off flawlessly. In games like WoW if you shoot a mob from a rooftop, it walks up the wall after you, rather then trying to find a logical path."
To check the Linden Blog entry, Click Here.
For more on Pathfinding in the Second Life Wiki, Click Here.
8 hours ago