How do I make collision only from top?

Just started using Construct 2? Post your questions here

Post » Sat Apr 12, 2014 1:48 pm

Hello,

I would like to know if there is a way to make collision between two physics object only if come from top.
Check the picture for more clear explanation

Thank you the community !
You do not have the required permissions to view the files attached to this post.
B
15
S
4
Posts: 57
Reputation: 1,792

Post » Sat Apr 12, 2014 3:49 pm

you could compare coordinates, but for me the best reliable way to do this is using a collision mask. this means to attach an invisible object to the top of the green rectangle and make that trigger the collisions instead. (https://www.scirra.com/manual/99/pin or https://www.scirra.com/manual/132/common-actions)

If you make the green rectangle contain the invisible object you will have no problem triggering things between each other. (https://www.scirra.com/manual/150/containers)
B
43
S
12
G
6
Posts: 446
Reputation: 6,807

Post » Sat Apr 12, 2014 4:14 pm

I see, it may be a good solution yes!
Thank you for this idea !

Cheers !
B
15
S
4
Posts: 57
Reputation: 1,792


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 6 guests