x


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.

more ▼

asked Feb 17 '11 at 06:55 AM

yosh 1 gravatar image

yosh 1
56 5 5 9

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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,

more ▼

answered Feb 17 '11 at 11:13 AM

doomprodigy gravatar image

doomprodigy
557 22 26 31

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2499
x960
x654

asked: Feb 17 '11 at 06:55 AM

Seen: 1616 times

Last Updated: Feb 17 '11 at 06:55 AM