If I nil out or replace the b2.world that I have stored, will the rest of the objects attached to it be properly destroyed? Or should all bodies be manually tracked and destroyed?
This is for, say, loading the next level, where all physics objects will be replaced, maybe except for the player but that's easier to just create again.
Comments