godot-destruction-plugin
godot-destruction-plugin copied to clipboard
Adds a method of converting a list of meshes into rigidbodies.
Godot Destruction Plugin

Addon for creating a destruction effect for meshes based on a segmented version.
https://github.com/Jummit/godot-destruction-plugin/assets/28286961/a84ef9c2-fca0-446e-a5af-322f03dc753e
Installation
For Godot 3 install and enable the Destruction plugin from the asset library.
For Godot 4 and above, download the addon from the releases and put the contents in the addons
folder. It can then be enabled under plugin settings as usual.
Usage
- Install the Cell Fracture addon in Blender, join your mesh and use F3 to search for Cell Fracture. Set the Source Limit to how many RigidBodies you want in your game. (~5 – 20)
- Select everything, right click and select
Set Origin > Origin to Center of Mass (Volume)
. - Export to Godot as OBJ or GLTF file.
- Add a
Destruction
node to the intact node and set theFragmented
scene to the imported scene. - Call
destroy()
to destroy the object.
Performance
The plugin is only tested in very small scenes.
License
Code licensed under the MIT license.
Marble texture licensed CC0 by 3DTextures, optimized for file size.
All other files licensed under CC0.
This project is REUSE compliant.