Some suggestions
Posted: Sun Nov 23, 2008 9:35 pm
It would be really handy to have:
world:destroy() destroys everything attached to the world.
world:getAllBodies() returns table.
body:getAllShapes() returns table.
body:getAllJoints() returns table.
body:destroy(bDestroyAttached) if bDestroyAttached then destroy anything attached to it.
Thanks.
world:destroy() destroys everything attached to the world.
world:getAllBodies() returns table.
body:getAllShapes() returns table.
body:getAllJoints() returns table.
body:destroy(bDestroyAttached) if bDestroyAttached then destroy anything attached to it.
Thanks.