I’ve been thinking about it for some time now.
Is it possible to to detect whether object1 collided with object2 horizontally or vertically?
I want Corona detect if two objects collide like this:
or like this:
Would be really useful to me.
I’ve been searching around the internet if anyone has done this already, but no luck so far.
Also I’ve thought about attaching another shape on the top of an object or on its side, and then checking collision with those shapes, but that wouldn’t be too convenient for my game.
Can’t think of anything else right now.
Any ideas?