How would I go about making a Destruction Physics System?

Hello! I am wondering how I would make Destruction Physics System like the game Destruction Physics - Roblox.

It would be great to know how I would go about making something like this! :slightly_smiling_face:

3 Likes

You need unionoperations to make it seem like it got destructed.

and create new parts to make the particles

2 Likes

Would this work on a Humanoid Model? If it used BaseParts instead of meshes?

1 Like

No it wont! An normal character has meshes, etc… Only parts that does not have special shapes like squares, etc…

1 Like

If I made a custom rig with Parts instead of meshes, would it work?

1 Like

It will work but it will create a new instance. That means that it will delete everything inside of it and make the joints unusable.

1 Like

You can make a new rig and stay over the original character (the original character invisible). And make Runservice.Heartbeat repeaters so it looks like its the character.

1 Like

This is a lot more complicated than I originally expected…

I had just had an idea for a Destruction Game, which would also utilize a Light Blood System.

Might be a bit of a over the top idea, tbh.

1 Like

It isn’t complicated. Just a rig over an invisible character and some union operations.

1 Like

Ohhh. Now I Half-Understand!

I could make the Limbs themselves an Accessory over an Invisible Rig! Would that work?

Edit: sorry, I’m a bit new to Scripting and such.

Just make the accessorys without anything special. you cant use union operations on meshes.

2 Likes

I understand that. I have done a bit of building.

1 Like

Well if u have the accessorys as a union, then you joint it with motor6d and u got destructable accesorys

2 Likes

Now, all I have to figure out is how to make a Hammer Tool add Negates to a Humanoid.

How would I use Player Input to Negate?

1 Like

Just make a hammer which when u click it will trigger an animation and a hitbox in the top of the hammer then when it touched, it waits a bit and then uses negates on the part (with debounces). You dont need any special needs from client

1 Like

Remember that when u union, it deletes all the objects in the union, so make clone saves on it so u can place it back again

1 Like

A little bit hard to read, but I think i can figure it out!

Edit: I will mark your post as the Current solution.

1 Like

Could you possibly provide some code examples on how to Subtract from a part?

(Edited to not sound like a beggar :skull:)

2 Likes

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