I’ve wanted to take time to play with the new Pathfinding feature now in alpha testing on the ADITI grid, also known as the Preview Grid. I took the time this weekend. I learned a few things. As you may imagine the documentation is incomplete at this stage. Not much point in writing lots of information that may change.

I’ll explain some of the problems I ran into with Pathfinding and then get into the script and how I fixed the problems. This is not a beginning tutorial for scripting. I am assuming you know about basic scripting with the Linden Scripting Language.
Simple
Writing Pathfinding scripts is way way simple compared to what was previously needed to create similar behavior. My first try was to create a follower. I have a Serge inspired character I made for OSGrid and decided to use that. My little bot is made from two prims and a sculpty. Because of the sculpties work I have to scale it to make it look right. That wacks the bounding box, which I was not over concerned with when I made it. Someday I’ll need to redo it in mesh.
The sculpty gave me my first challenge. I needed to rebuild my bot here in SL. I rezzed the spheres I needed and put him together. Then wrote the script and tried him out. He promptly fell over on his side…




