@deliciouso I was having a similar issue when I was trying to remove a MovieClip/body (with no joints) on contact. In my case, I got a player error when I used destroy(), but after looking at your code, I used remove() and it worked.
So I guess my question is, what's the difference between destroy() and remove()?
Thanks!
Johnny
So I guess my question is, what's the difference between destroy() and remove()?
Code:
private function removeHammer(e:ContactEvent):void {
this.remove();
}
this.remove();
}
Thanks!
Johnny