What is this algorithm used for?
path = aStar(start, goal, grid);
- Finding the shortest path
- Rendering the dynamic shadows
- Compressing the large textures
- Mixing the positional audio
A* searches a graph for the lowest-cost path from start to goal.
Play Game Dev ▸