- Home /
sample of AI enemy collision
is there sample of enemies walk around the world and sometimes enemies will collide each other? and what i need is enemies might avoid to collide each other.
Answer by doomprodigy · Feb 17, 2011 at 11:13 AM
I am unsure about samples though these packages/projects do. I know that Unity Steer avoids people, and that A* Pathfinding avoids walls (Have not used either personally) so avoiding people would be the same method somewhere in the script, maybe browse through the script and take a look (If the license lets you)
If programming yourself, I would use a raycast and then if it collided with something rotate until the raycast stops hitting the wall/person/collision.
Peace,
Your answer
![](https://koobas.hobune.stream/wayback/20220613104830im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can I make Ai using only a focus script and a bullet script? 1 Answer
AI enemy bouncing with no collision 1 Answer
Collsions problem 0 Answers
Enemy Ai Problem with the collider and gravity 1 Answer
enemy AI avoiding collision 1 Answer