Bullet - Bounce Off Object, Sprite Destroyed When Collides

Get help using Construct 2

Post » Wed Dec 10, 2014 8:51 pm

Hello, I have a question. I applied the bullet-bounce off object in a collision. But the sprite that supposes to bounce, get destroyed or disappeared. Why?
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Wed Dec 10, 2014 9:05 pm

Difficult to discern as to why that would be. Would need to see the events in order to understand what is going on. Providing an example capx file would help.

My first guess would be that you have an event somewhere in your event sheet- On collision, that destroys the sprite.
B
47
S
22
G
65
Posts: 1,127
Reputation: 38,395

Post » Thu Dec 11, 2014 3:13 am

Hai, Prominent, thank you for the response.

After a good night sleep, today I've found the reason. It happens when the bullet speed is 0.

I'm developing a simple asteroid Game and would like to have a bouncing effect when my ship hits an asteroid. I tried to apply physic behavior to my ship. But it doesn't work well together with custom movement and wrap behavior.

Yesterday I learned about the bullet bouncing off object, but now I realize it has problem in 0 speed. And it bounce without considering any mass or speed of an object, which can only be found in physic behavior.

I'm confused now how to make this works. Well I guess that will be another topic.
B
10
S
5
Posts: 220
Reputation: 1,464


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests