RVO when approaching from behind

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?



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