How do I make physical objects destroy when hit ground?

Get help using Construct 2

Post » Tue Apr 14, 2015 4:14 am

So, I've been trying a billion things and I just can't figure it out. For some reason, physics objects don't have the condition "On Collision" which you would think they would. So I figured maybe on overlap would work. Nope. Basically all I'm looking for is "When object collides with physical object (families), destroy object."

So, if anyone can help. That would be great. Thanks.
B
16
S
3
G
2
Posts: 57
Reputation: 2,078

Post » Tue Apr 14, 2015 7:22 am

Yes they do. Physics is just a behavior and doesnt alter the sprite in any other way.
B
50
S
16
G
9
Posts: 1,098
Reputation: 11,237

Post » Tue Apr 14, 2015 1:23 pm

If you could show me an example then, that would be fantastic. Because as I said. I can't see it.
B
16
S
3
G
2
Posts: 57
Reputation: 2,078

Post » Tue Apr 14, 2015 1:38 pm

It's as easy as:

object on collision with ground - object destroy

You can find the on collision event under "Collisions" when the add events dialog opens.
The collision-check itself has nothing to do with the physics-behaviour.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Apr 14, 2015 11:15 pm

Where?
http://gyazo.com/a31f386d1be04d16659b06264ce1286e

Because I honestly don't see it. If it were that easy, I wouldn't be asking for help!
B
16
S
3
G
2
Posts: 57
Reputation: 2,078

Post » Tue Apr 14, 2015 11:23 pm

Are you trying to add a trigger to a triggered event?

I don't see any of the triggered events in your list.

If you create a new event the triggered events (green arrow) should be selectable.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Apr 14, 2015 11:33 pm

Wow, I totally didn't even think of that. I was just trying to put it in a function. But yeah wow. Thanks man. Appreciate the help.
B
16
S
3
G
2
Posts: 57
Reputation: 2,078


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests