Page 2 of 2

Re: Using body:destroy() without the game crashing

Posted: Thu May 29, 2014 12:14 pm
by war_man333
adnzzzzZ wrote:If you're using Mogamett, do self.dead = true and the physics object will be destroyed next frame. You can't change a physics object from the callback function.

If you have more questions like those use the comments section on the related page on the Mogamett site, since I get an e-mail notification right away and can answer the question pretty fast.
Thanks! I'll ask on the site if it's Mogamett-related next time :)