Collision with multiple objects

Sorry for all these threads but dayum is lua intense sometimes. I read the tutorial couple of times but I’m still clueless about how to collide with multiple objects and have multiple events occur.

Say I have a ball, when it collides with a balloon I want my ball to disappear, when it collides with a special ballon I want the balloon to grow in size for a certain time…

Problem is I can only make the ball act in a certain way when it collides with anything… Anyone knows? [import]uid: 14018 topic_id: 5349 reply_id: 305349[/import]

Also when I add a collision event to the balloon, making it disappear on collision with anything

Then add a collisionEvent to the ball. The balloon wont disappear when it collides with the ball? [import]uid: 14018 topic_id: 5349 reply_id: 17841[/import]

Bump [import]uid: 14018 topic_id: 5349 reply_id: 17915[/import]

add a custom variable to your objects to differentiate them during collision events:
http://developer.anscamobile.com/content/collision-detection
[import]uid: 6645 topic_id: 5349 reply_id: 18199[/import]