Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Node allowing for real-time cutting of mesh, implemented in GDScript supportsrigid bodies , repeated cutting , cross section materials
Godot-Mesh-slicer
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
Use
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
Todo
improve normal calculation
Bugs
cuurently the sliced objects have the same materials but the applied textures on the material seem to be missing
(might be linked to UV calculation)
Node allowing for real-time cutting of mesh, implemented in GDScript
supports
rigid bodies ,
repeated cutting ,
cross section materials
Reviews
Quick Information
Node allowing for real-time cutting of mesh, implemented in GDScript supportsrigid bodies , repeated cutting , cross section materials