General parameters for the AStar Pathfinder
Computes a given path from a start and end point. If not path is found, it will return undefined. Both the start + end points will be returned in the path.
RangeVector2[] | undefined - Returns the path, including start + end, or undefined if no path is found.
Generated using TypeDoc
AStar is a path finding algorithm that attempts search tiles closer the goal. It estimates a tiles score as the known distance to that tile, plus the distance to goal as the bird flies. It will always first evaluate the tile it knows to currently have the score, and continue from there.