In my latest game I'm making, you can slice a 2D object arbitrarily, demonstrated in this gif:
You can continuously cut it continuously into hundreds, or thousands, of pieces. This doesn't create a lot of lag, because they're always in a sleeping physics state, but there's a problem when you cause them to move.
I'm not really sure how to deal with making it so there's not so much rubble from cutting something apart. I don't really want to delete them after a certain amount of time becausetime; I don't like how, if you go back to something you cut up after a while, it randomly disappeared.
Anyone know of a good way to handle thisHow can I clean up excessive player-created rubble?