astar-algorithm-cpp
astar-algorithm-cpp copied to clipboard
Bug in c# code
In c# code in AStarPathfinder.SortedAddToOpenList() field "inserted" is always "false".
cc/ @ScaryG
Second bug in C# :
In "GetSuccessors(...)" method instead
NodePosition parentPos = new NodePosition(0, 0);
we should use
NodePosition parentPos = new NodePosition(-1, -1);
Because (0, 0) is a real position on the map, and we can not use (0, 0) as position of nonexistent parent.
Thank you @gorodovoy If you fix the other one we can close the issue :)
Moved cs to a new repo, see readme. Closing this issue