My Zombies are overlapping each other

Get help using Construct 2

Post » Tue Jan 21, 2014 4:14 am

I have Zombies set to Solid:enabled, but they are still overlapping each other when they are coming after me. How do I make it so that they not only avoid being overlapped, but avoid bouncing off as well.

I also have this set on the zombies:
30 * dt
angle(ZombieEnemy.X, ZombieEnemy.Y, Player.X, Player.Y)
B
60
S
19
G
3
Posts: 451
Reputation: 6,364

Post » Tue Jan 21, 2014 5:04 am

the Solid behaviour collides with Platformer and Bullet but not other Solid.

When I had to deal with the same problem. I just gave them all bullet behaviours and the solid behaviour. It produced a bit of bouncing but managed to seperate them.
B
92
S
18
G
9
Posts: 2,455
Reputation: 15,113

Post » Tue Jan 21, 2014 6:51 am

What's odd is that I have both bullet and solid enabled on zombies. I do however have Line of Sight obstacles set to custom rather than solids.
B
60
S
19
G
3
Posts: 451
Reputation: 6,364

Post » Tue Jan 21, 2014 7:28 am

Oh. Found out that you have to set a speed to the bullet. Otherwise, it'll pass through objects.
B
60
S
19
G
3
Posts: 451
Reputation: 6,364


Return to How do I....?

Who is online

Users browsing this forum: dop2000, Google [Bot], matriax and 8 guests