3d Pathfinding on a Large Grid-Based Game (1 Million+ Grid Tiles) Suggestions
I'm making a game where players can make custom maps that they move around on like a board game. It needs to be 3D pathfinding (x, y, z) because it has things like multi-story buildings.
I've tried implementing A*, but it slows wayyyy down on maps around 1000x1000 tiles. I tried integrating an existing Jump Point Search into it from here with the Dynamic Grid option (and adding some multi-thread support), but it still takes over 5 minutes to find a path from (0,0,0) to (999,999,0).
I'm kind of stumped trying to figure out if there's a solution for this outside of just teleporting the player to a node if it's a certain distance away or something. I'd rather avoid that if I can. Can anyone point me in the direction of an algorithm that would be suitable for this kind of scenario?
Posted Oct 13, 2020, 5:48 PM UTC