scripts to cut mesh / rigid bodies in godot at runtime implemented in GDscript
showcase : https://www.youtube.com/watch?v=ynZVK_XyaRc.
play the demo scene to destroy the cube
Once you download/copy the slicer file into your project.
There will a new node under rigid body called , sliceable.
The sliceable node needs a mesh instance with mesh
and a empty collision shape under it to function.
Provide a cutting plane to the cut_object function (in world space).
This will cut the rigid body into two rigidbodies.
added cross section materials
bit of texture / UV distortion on the newly generated vertices