i am trying to add navmesh obstacle and navmesh agent component on the same GameObject. However, I am getting a strange behaviour (the object will keep change it position randomly).
SO, if we have two agents in a narrow corridor, although they block each other path as in the figure, both agents will still have a path. Both agents will run to each other and push each other because there is no space to execute RVO (an algorithm that unity use to avoid obstacles) and navmesh will not re-plan a new path. figure
can anyone help!
thank you in advance
MD