A* Pathfinding Project

Reselect a new Path?


#1

Hi, as I have local avoidance turn on for my gameobjects, in some situations i will encounter crowding issue where the gameobject will be blocked from getting to its destination by another gameobject (picture a tunnel and the gameobjects trying to move into the end of the tunnel). There is however another possible path to reach the same destination but the gameobjects do not seem to know how to recalculate a new path to get there, or to simply SearchPath for another destination.
What could be the best way to achieve that?
Thank you!