So when you have the A* Algorithm that correctly finds the path and now you have the Closed list. How do you determine the Shortest path from that closed list?
I've been looking for answers for this for weeks but I just don't understand. I've looked like every video and wiki page.
What I have understood so far is that you have to somehow mark the best neighbor node and use that? I made a question about this 2 weeks ago this is the answer I got. "You should save the block you came from for every block visited, that way you can reconstruct the path".
But I don't understand if you save every block you came from that will just lead you to the same path that is the closed list? Also what I tried was when the path is done and you have the closed list follow the end to the start choosing the nodes in the closed list that have the lowest G Cost.
But that doesn't work because there are spots where the best Path is not the lowest G Cost. So like in this GIF I have my algorithm get the path and I have the closed list. How do I get the Fastest path from that like in this video?