When two units collide and there is no one arround scenario. If one unit tries to move in to a tile and that tile hosts another unit in movement the first unit will wait. If the first unit tries to move in to a tile and that tile hosts another unit that is waiting, the first unit will add the tile where the second unit is as obstacle in the pathfinding map and then will call the pathfinder to find a new route.
But how do you proceed when you have a bunch of units around you (right next to you )all waiting? Do you add all of them as obstacles to the pathfinder obstacle map?





