Ok, I see. There are multiple ways to solve this. Some are more efficient, others are easier to implement. Could you tell me how big you expect your maps to be, as this influences how important it is to keep pathfinding very efficient. Also, will your obstacles take up whole tiles, or will there be obstacles between walls? If it’s the second one it becomes a lot more tricky. I’m also unsure how to solve rotation of big units that cover an arbitrary number of tiles in an arbitrary pattern, but I will think on it.