I’m having trouble understanding collision. Can someone explain to me to point me to the right page? I have 3 objects. A ball, a red square, and a blue square. I want the ball to be destroyed when it collides with the red square and do nothing when it collides with the blue square. Can anyone tell me how to do this?
Hi @elpita01,
The following page should give you the required info, especially the section “Collision Filtering”:
http://docs.coronalabs.com/guide/physics/collisionDetection/index.html
Best regards,
Brent
Hi @elpita01,
The following page should give you the required info, especially the section “Collision Filtering”:
http://docs.coronalabs.com/guide/physics/collisionDetection/index.html
Best regards,
Brent