Implementing Local Avoidance


#1

So I’ve been using A* in an RTS I’m building, and so far, it’s been working great. However, I’m finding that I’m going to want some form of local avoidance. Is this something that can be combined with A* outside of getting the pro version? I’m not sure I need the other features of A* pro, but I’m also not sure how complicated it would be. Or is the solution to just get pro and not worry about it?


#2

Hi

Sorry for the late answer.
There are many solutions to local avoidance besides the one in the pro version. You could for example take a look at UnitySteer which has one approach. Integrating the local avoidance with the movement scripts is of course the easiest with the pro version however, then it’s basically just to add two components and then everything is up and running.