RTS "walk around attacking units" behaviour?

Currently I’m using RichAI with the RVO controller and it works great, except when trying to attack units. I need the local avoidance to know attacking units won’t move, so it should try to walk around it. I’m trying to mirror Warcraft 3’s local avoidance system.

This post is exactly what I’m talking about, however I can’t find the beta branch in the package manager.

Did it get integrated at some point, or will I have to create this behavior myself?


You can find the beta here: https://www.arongranberg.com/astar/download

1 Like

Wonderful! Thank you so much!

1 Like

Updated to 4.3.28 (On Unity 2019.3.15f1) and the behaviour does work well.

However, one strange thing is that the units always walk around the right side of locked units.
Such that, if I have an army attack, the units behind the engaging units will all move right instead of split left and right evenly.

I modified the RVOController and RVOSimulator settings but to no avail. Is this a case of bad destination assignment or have I maybe missed a setting somewhere?