Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ObsidianWhisper |
I’m having trouble wrapping my head around how to have a unit, let’s say a large unit that takes up 2x2 on the map, path properly using AStar.
I’ve had a hard time finding any tutorials explaining how to approach this situation. And I didn’t see anything for this in the documentation.
The objective is for AStar to path properly around obstructions (walls, pits, hostiles).
What’s the best way to handle entities that are larger than 1 cell?