Greatest suggestion ever: BasePart:Break()

So I was watching @ScriptOn’s destructable glass, mumbling to myself how R2DA has had that for over a year…
While dwelling deep in envy and dispair I read David Baszucki’s reply to it:

And it dawned to me (about two hours later) that ROBLOX should totally implement this!

The idea is this:
A basic algorithm that breaks a BasePart into 8 x Unions and puts them in replacement for the broken part, thus simulating the destruction of a block. Being then able to break these CSG parts into smaller parts would look really cool (but is substatially harder to code).

The math for breaking basic parts shouldn’t be overly complicated, but it’s best done through roblox themselves as they can easily write the CSG model vert by vert.

Something like this (but split along the y-plane aswell):
split.png

Like if you agree, subscribe if don’t, retweet for fame.

10 Likes

Ooh, Khanovich did something like this for a hackweek project

5 Likes

This looks to be dynamic fracturing.

Most destructible things have ‘points’ in where they break so its all precalculated. So while they always break the same way, it would be useful and performance easy on things like windows.