A* Pathfinding Project

RVO when approaching from behind


#1

Hi there!

I have RVO enabled in a top down 2d game and it works pretty well. One ‘issue’ (I believe it is game-specific) is that if I sprint towards a slower moving AI from behind, the AI’s RVO will start attempting to move out of my way. However I’m chasing them. So the result is a constant wobble/counter wobble.

I wonder if it’s possible to have RVO ignore agents behind them, or something along those lines?

Thanks!


#2

Hi

You can make individual agents ignore other agents. Take a look at the layer and collidesWith fields on the RVOController.