How to prevent enemy objects from overlapping

I have multiple of the same enemy objects with pathfinding behaviors in my scene to follow the player. How can I prevent these enemies from overlapping each other when they come close? I tried the separate two objects functions but this just causes them to teleport around each other. Is there anything else I can do?

My solution not the best but works most of the time.

zombiemask = enemy. I just slow down the farther opponent.

1 Like

Good idea, thanks a lot.