How to have destruction physics like this game

I’m making a game with some basic destruction physics and wanted to know how to achieve this. The following game has the physics I want, you may need to play a round to see what I mean: Jenga Tower!❄️ - Roblox

How do I replicate these physics? Does this game use Welds, WeldConstraints, unanchoring, etc.?

2 Likes

Physics like that involve unanchoring the model and welding all of the parts together. For any parts you don’t want to be destroyed, do not weld them to breakable parts and instead anchor them.

To destroy the build, remove the welds from the parts you want to separate and they’ll fall.

I’m not an expert so please don’t quote me on this.

1 Like

Change gravity, build as many parts as possible, and anchor them. For example, if you have a tool to destroy a building, create the tool and make it then unanchor some parts within its radius when for example when it exploded.

1 Like

That’s what I was thinking but it just seems so tedious to add all those welds. I was just wondering if there was a better method.

Yes, but when the base of the tower is destroyed, the tower will just hover in mid air instead of collapsing

Lets say if the whole tower is a model you could put it in separate parts and add a script to them that watches how many parts are unanchored for example your tower has 1000 parts and 5 floors so you gonna make every floor a model so every floor model should have 250 parts, then you can add a script that will unanchor the whole floor if like 150 parts are unanchored.

[edit] and you could like make that if for example floor 3 is destroyed floor 4 and 5 are going to collapse.
It may not be the best method but i don’t know any other

1 Like

There’s a plugin that lets you do it all at once.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.