I have a function that detects when the objects collide but how do I delete one of them?
private function fruitToFloorCollision(collision:InteractionCallback):void
{
// TODO Auto Generated method stub
trace('fruit hits floor');
}
when I trace out the collision
Cb:BEGIN:(dynamic)#11/(static)#1 : [CollisionArbiter(Polygon#2|Circle#12)[SD]<-ACCEPT] : listener: InteractionListener{BEGIN#COLLISION::@{[CbType#5] excluding []}:@{[CbType#6] excluding []}} precedence=0
if anyone has got a better/alternative would like to hear it...