Shatter-o-matic
Slice and shatter static meshes in Unity3D with only a few clicks. Trigger shatters from a contact point, slice via an arbitrary plane, pre-bake fragments for performance, or do it all at runtime. Full C# source code included.
What it does
Mesh slicing
Attach SlicerBehaviour to any static mesh. Pass a plane, get two new meshes. Trigger it from a collision, a mouse cut, or code.
Mesh shattering
Attach ShatterBehaviour and trigger it from a contact point. The object is replaced with properly computed 3D fragments.
Pre-baking
Compute fragments ahead of time with the Fragment Baker editor tool. Ship pre-baked prefabs for zero runtime cost.
Interactive Slicer
Pre-slice meshes directly in the editor: Tools > Shatter-o-matic > Interactive Slicer. Drag to cut, done.
Cut face materials
Fill open faces with your own materials. Supports multiple materials picked at random per surface.
Full source code
Everything is in C# and fully exposed. Extend SOMmanager to customise cleanup, output paths, or trigger logic.