A* Pathfinding Project

Seekers move inside each other


#1

Hello, quick question. I’m using the free version of the project and i’m trying to make enemies following the player in a 2d top-down game. Is there any way for me to make the seekers not walk into each other when they are following the player? Colliders don’t seem to do anything.


#2

Hi

The pro version contains local avoidance (rvo) which usually is used to handle this. See https://arongranberg.com/astar/docs/local-avoidance.php

For free alternatives you could check out UnitySteer.


#3

Hey again, I was pretty dumb there. I didn’t realize that you have to have rigidbodies for collisions to occur. So they dont walk into each other anymore, they were literally moving as one after a while.