I’m making a 3rd Person RPG. When multiple enemies get close to the character to attack, they’re bumping into each other. I can’t figure out how to keep them from grouping together like that. Especially when I move away and they’re running from the same direction. How can I set a minimum distance they can be from one another?
Also, my EnemyAI is built in the Behavior Tree (Patrol, Chase, Investigate, Attack). Right now, they run up and attack and keep attacking. I would like to make them better so they would run up, attack and then back up/move away some as defense. It would also help the swarming issue.