Keeping characters away from environmental assets

Get help using Construct 2

Post » Sun Dec 01, 2013 3:16 am

I'm having an issue in a game I'm working on.

there are specific things that I don't want the enemies to run into, specifically just small environmental assets.

Does anyone know of any way to keep the enemies from bumping into them entirely? Or, a way to use the distance attribute to tell them to change direction when they get too close?

Thanks everyone!
B
4
Posts: 78
Reputation: 606

Post » Sun Dec 01, 2013 4:58 am

I usually do a disable collision action when enemy collides (or overlaps) with the object. This will mean the enemy just passes through it. This would also work for changing direction on colliding with the object.
B
45
S
15
G
73
Posts: 2,006
Reputation: 43,394


Return to How do I....?

Who is online

Users browsing this forum: Davlin, Madave96 and 6 guests