Grid graph: one agent per cell?

Is there any out-of-the-box support for ensuring only one agent can occupy the cell of a grid graph at a time or would I need to write that?

For example: if one agent is in a grid cell, another agent will path around it or if two agents are spawned/knocked into the same grid cell, at least one of them will move to the nearest unoccupied cell.

I’m trying to decide if I should write this basic avoidance logic on top of the grid graph or if I should try to make use of RVO, but it kind of seems like overkill?


There’s no built-in solution for this, though there are some helpers for turn based games documented here: Utilities for turn-based games - A* Pathfinding Project

1 Like