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 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)
Develop games in your browser. Powerful, performant & highly capable.
I see, it may be a good solution yes!
Thank you for this idea !
Cheers !