Debugging my AI - trying to stump Avoidance
My AI has been getting stuck on various complex structures so I am trying to rework the dyamic avoidance code so that they can figure out their way around or out of stuff. Here all I did was simplify the amount of feelers the AI is using and then the distance they are tracking at. I think I could make this more dynamic make their avoidance reaction distance based on their current velocity. At the last round I thought I had trapped it with an enclosure but it got out.
One big issue is that when they hit a flat wall (probably not something they will actually see in game tho) they seem to only turn left or right. mostly left... the whole structure could easily be avoided by going up and over.
I need to add a way for an AI to look around at clear paths. Maybe send out more feelers in possible options to determine the best move.