How do I make bullets and platforms ignore solids?

Get help using Construct 2

Post » Wed Oct 12, 2016 11:24 pm

I'm trying to make an enemy of mine go simply left/right towards the player, but bullet/8 directional movement both make it so they can't pass through solids. Also, since my enemy is part of the Enemy family (which has all the enemy variables like states, health, and knockback) their knockback behavior uses the platform behavior which interacts with solids. I tried using simply "Move Forward" which isn't tied to any behaviors, but for some reason it wouldnt work when I disabled the knockback/platform behavior. Is there any way to ignore solids using these behaviors?
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Thu Oct 13, 2016 4:13 am

Bullet behavior has a parameter "Bounce off solids" which you can set to No, that should make it ignore solids.
B
53
S
24
G
18
Posts: 295
Reputation: 13,115

Post » Tue Oct 18, 2016 6:05 pm

IS there any way to disable it on the platform behavior? I use it on the Enemy family for knockback, and I think that's whats causing it to stay solid. Disabling it doesn't seem to help
B
35
S
5
Posts: 411
Reputation: 3,406

Post » Tue Oct 18, 2016 11:19 pm

Does the bullet have events that test for collisions with a family of solids in some way? That would make it react to objects even if its parameter is off.

I don't believe Platform behavior has a similar parameter unfortunately. Don't have C2 open in front of me to check though.
B
53
S
24
G
18
Posts: 295
Reputation: 13,115


Return to How do I....?

Who is online

Users browsing this forum: wossi and 28 guests