A* pathfinding
Posted: Sat Jul 18, 2015 12:17 am
Sorry for always asking for so much help. But I thought it couldn't hurt asking if someone happens to have a working example of an A* algorithm for ZGE?
I really thought I'd be able to get this working, but I only get endless loops and other weird behaviour.
I have a simple 2D array, with a model on a certain coordinate which is supposed to reach another coordinate with a few obstacles in the way. I have tried loads of times now with various implementations, but I can't get it to work.
I've been looking at these, but it hasn't helped that much :
http://www.codeproject.com/Articles/988 ... ementation
http://buildnewgames.com/astar/
http://www.dotnetperls.com/pathfinding
I really thought I'd be able to get this working, but I only get endless loops and other weird behaviour.
I have a simple 2D array, with a model on a certain coordinate which is supposed to reach another coordinate with a few obstacles in the way. I have tried loads of times now with various implementations, but I can't get it to work.
I've been looking at these, but it hasn't helped that much :
http://www.codeproject.com/Articles/988 ... ementation
http://buildnewgames.com/astar/
http://www.dotnetperls.com/pathfinding