Some suggestions

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Kuromeku
Party member
Posts: 166
Joined: Sun Jul 20, 2008 5:45 pm

Some suggestions

Post by Kuromeku »

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.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 7 guests