We’re using objects that do not necessarily need to leverage the physics engine, but we still need to detect collision. Here’s a similar example to what we’re trying to build:
In solitaire, the cards are draggable objects. When they are released over top of another stack of cards (the collision), they will “stick” to that deck. The target hotspots (the card stacks) are not always known ahead of time – they are dynamic.
What would be the best approach to this problem in Corona SDK?
If you do not want to use physics engine, you could code up a touch event listener to check for overlapping cards. I assume no difference in a stack of cards or a single card.