Units of size 1 vs 2 - using a grid graph

  • A* version: 5.3.1
  • Unity version: 2022.3.48f1

This is probably pretty trivial. But if I have a grid graph with a node size of 1.. Can I only use units that are 1 width on that grid graph when pathfinding? Say I have a goblin that’s just a 1by1, I use a seeker to get a list of points on the grid from (1, 1) to (3, 4).

But if I have an ogre, that’s 2x2. How would that work? Do I need to generate a completely different graph?

This is typically the most straightforward way of going about it, as described here. If you have no issues with doing this I’d recommend it. Lower down this documentation there is an alternative for Grid Graphs specifically. Are you okay with using a separate graph?