Make Agents Avoid Other Agents?


I have several agents in my game. I want them to avoid each other when factoring in their paths, but for some reason they just pass through each other even if I have a collider on each one. If I mark agents as obstacles, it messes with navigation because then the ground under the agents isn’t factored in. How can I make agents avoid each other in their pathfinding?


This page might interest you: Local Avoidance - A* Pathfinding Project