I'm currently using A* pathfinding to mainly control my enemy's movement, however, I'm having a problem with it being constantly in contact with the collider, and it struggling to get around the corners. I would make the margins wider, but the problem there is that its destination is next to the collider, so that's not an option.
The yellow boxes in the image are the potential destinations. Any advice or ideas? Thanks in advance!
![alt text][1]
[1]: /storage/temp/143598-example.png
↧