I was wondering if it’s possible to call a particular function on a collision? For example, if an object hits a wall, I want the image to flip.
If you want physics, see: http://docs.coronalabs.com/guide/physics/collisionDetection/index.html
If you don’t want physics, see:: https://coronalabs.com/blog/2013/07/23/tutorial-non-physics-collision-detection/
Rob
If you want physics, see: http://docs.coronalabs.com/guide/physics/collisionDetection/index.html
If you don’t want physics, see:: https://coronalabs.com/blog/2013/07/23/tutorial-non-physics-collision-detection/
Rob