With a very simple addition to Dijkstra's Algorithm, considering the distance to the target node, we can find the goal node much faster.
Find the source code here: https://github.com/BSVino/MathForGame...
New video every Thursday. Question? Leave a comment below, or ask me on Twitter: / vinobs