Hi there, I have a situation, kindly help me out.
I am creating instances of an entity randomly, and would want to remove one at a time as they make contact with another wall entity object. The problem is that I have looked at all the functions to remove entities, but I can’t figure out a way to remove one at a time; ONLY when that particular one makes contact with the wall, and not remove all the others that are being created even when they are not yet used. Is there a function I don’t know about to help achieve this?
By the way, I am following the sample tutorials to create something similar, and I am using “mousejoint” to drag these entities that are created at run time around. Unlike the Balloon example where U can pop using the “multitouch”, I am trying to achieve almost something similar, but this time, when it comes in contact with the wall.
Thanks