Destroy only when hit from the top

Get help using Construct 2

Post » Thu Jan 09, 2014 10:56 pm

I want to destroy an object when it is hit from the top only i.e. I have a man in a multistory building that is made from one type of object. When he walks on or into this object nothing must happen but when it falls on him he must die. The building material has physics property.
B
4
S
1
G
2
Posts: 42
Reputation: 961

Post » Thu Jan 09, 2014 11:57 pm

You could pin a hitbox to his head and check for collision with the hitbox.
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Fri Jan 10, 2014 1:03 am

Thanks, that will work :-)
B
4
S
1
G
2
Posts: 42
Reputation: 961

Post » Sat Jan 11, 2014 12:28 am

If that doesn't work, or you want to have a collision for the entire object for other purposes, you can add another object to that one and pin it to the object, that way the hitboxes will be separate
B
5
S
1
Posts: 15
Reputation: 460


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests