Bullet bounce ignore specific solids

Get help using Construct 2

Post » Thu Apr 20, 2017 3:34 am

Hi everyone, I've a bullet with bounce off solids set to true, so the bullet will bounce against the wall object with solid behaviour without any problems. How do I set the bullet to ignore another new object with solid behaviour (let's say a tree), but still keep bouncing with the wall?
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Thu Apr 20, 2017 3:40 am

You'll need a custom system for either one of your use cases.

a. Custom movement blocking event for movement solids

or

b. Custom bouncing/reflection event for projectiles.

You can use an invisible sprite dedicated to either bouncing or blocking and place them where appropriate.
Mistakes were made.
B
49
S
24
G
107
Posts: 1,581
Reputation: 60,303

Post » Thu Apr 20, 2017 4:09 am

@oosyrag, thanks for the helpful answer!
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Thu Apr 20, 2017 8:44 am

@Herks

You could try setting Bullet bounce off solids to No, create a Family (call it Bouncy Solids) for solids you do want to bounce off and add an event: Bullet on collision with Bouncy Solids -> Bullet bounce off object (Bouncy Solids)
Vote for all the Construct 2 games on Steam Greenlight - Find them here
B
32
S
9
G
7
Posts: 444
Reputation: 6,731


Return to How do I....?

Who is online

Users browsing this forum: bluesun66, jasontoups and 2 guests