Collision detection with a physical object and a non-physical object


I am currently working on making a little game with Corona. I am wondering how to make a collision detection with a physics object and a non-physics object in Corona. I want it to be so when the physics object touches the non-physics object an event will happen.

Thanks in advance!

You can't use physics based collision detection to detect collisions with non-physics bodies. However you can use some techniques outside of physics to see if two bodies are bumping into each other.

It requires a different way of thinking about it. This tutorial should assist you in non-physics collision detection: