piqnt / planck.js

2D JavaScript Physics Engine
http://piqnt.com/planck.js/
MIT License
4.88k stars 236 forks source link

Body.destroyAllFixtures #205

Closed dtgreene closed 2 years ago

dtgreene commented 2 years ago

Would it be possible to add a method for destroying all fixtures on a body with a single function?

edit: nvm this was a dumb question lol, you would probably just destroy the body at that point