I’ve been meaning to do this for a long time. And after a little effort, this is ready to share.
We’re please to share our A* path solver. It’s quite robust and quite fast. I’m sure that it can help some one out there. I’ve added a lot of comments, but if anyone finds a bugs, please let me know.
Repository is here
Much of the work this morning was to make this work as a demo for Torque 2D. That said, anyone wanting to use the logic can also do so, simply remove the console methods (ie: ConsoleMethodWithDocs) and also the declaration of console objects (ie: DECLARE_CONOBJECT) from the psPaths class and the 2DArray class.
Hope it helps someone out there.