This pathfinding system is object based and does not work very good in all cases, use the A* Pathfinding system instead, although if you have simple environments you can still use it.
The Pathfinding-system is an easy to use script for the Unity game engine.
The script is built entirely in javascript and works in pro as well as indie.
Features:
Fast: It can handle large troops without any lag (depending of the complexity of the environment)
Flexible: No need for re-adjustment when adding a new object, it just works.
Debugging: Keep track of all paths in the editor.
Javascript: Easily changed code so you can make it meet your needs.
Preview:
Version 0.5:
Added: Built the whole thing.
Known bugs: Can’t get around a large row of boxes (fixed in 0.9).
Version 0.9:
Added: Splitting paths
Added: Max number of points/paths/splits
Added: Advanced toggle (this makes the script test more things to get more accurate results)
Added: Script now operates over several frames, added delay option
Added: Nodes does now clamp to ground, added “clamp to ground” option
Added: “Near Dist” variable, ends the path when in a certain distance to the end.
Known bugs: Sometimes it goes into a loop and does not go forward any more (terminated after 3 iterations)
Licence:
The Pathfinding project is distributed under the Creative Commons – Attribution-NonCommercial-ShareAlike 3.0 Unported licence (licence legal code or licence overview),
which in short says you can use the project for whatever you like if you credit me and don’t make money on it.
If you want to use it in commercial projects please contact me at aron[dot]g[at]me[dot]com.
Download:
So what are you waiting for? Download it now!
[download#3]
If you have any questions, you can just post them as a comment.
Glad that pathfinding is fast and flexible and debugging. If only my project management apps were as efficient. Also pleased it uses Javascript, it’s the easiest to understand.
Can this be used for A.I on a sphere or planet?
How can switch the graph at the scene added? If the Ai will change the pathfind mode it is necessary.
this project is so good. But I can not see the document. whis is the matter?
oops! i got it! sry !
I couldn’t make it work with iPhone platform, pls Help me!
1. Make sure you have version 3.1.4 of the system.
2. If it still doesn’t work, delete the AstarPathfindingProject folder and import the package again.
3. Make sure you are not using micro mscorlib stripping.
4. Read the http://www.arongranberg.com/astar/docs/iphone.php page.
How can i get the ver 3.1.4 ?
Thanks !