Differing unit sizes using the same graph

Hi there.

I love this package, it’s so very versatile and with a bit of tweaking I have managed to get almost everything I want out of it.

However, being a complete manic, I’m trying to do something with my turn based game which I believe might have beaten me.

Effectively, on a Grid Graph, I’m trying to create units that occupy more than one space, but use the same graph. So, a move of 1 space will move the same distance regardless of unit size.

Imagine the D&D unit sizes:

Does anyone have any ideas on how this might work?


You may be interested in this tutorial: Multiple agent types - A* Pathfinding Project, especially the alternative solution at the bottom of the page.