Pathfinding on large map
问题 I'm creating a game with a 10,000 by 10,000 map. I would like for a user to be able to set a location and have the computer instantly find the best path. However, since the map is 10,000 by 10,000, there are 100,000,000 nodes, and to find this path through a conventional method such as A* or Dijkstra's would require a large amount of memory and a long time. So my question is: How can I find the best path? The algorithm I'm considering would divide the world into 100 sections, each with 1,000