
How to Create Footstep Particles in Unity (Dust, Grass, Snow, Water & More)
August 17, 2026
AAA‑Style Procedural Level Generation Pipeline (Full Guide)
August 19, 2026Samurai Mesh Cutting System
A simple Unity runtime mesh-cutting system that allows a Samurai character to slice 3D objects with a sword.
Included
- Samurai player controller
- Sword attack and slicing system
- Runtime mesh slicing
- Automatic creation of sliced pieces
- Rigidbody and collider setup for sliced pieces
- Cap material support for cut surfaces
- Example Samurai scene
- Example sliceable object
- All required scripts
How It Works
When the Samurai attacks an object, the sword determines the cutting direction and the mesh is split into two separate pieces. The new pieces automatically receive physics components so they can fall and move independently.
Setup
- Import the Unity package.
- Open the included example scene.
- Add
SliceableObject1to any 3D object you want to slice. - Assign a Cap Material if you want a different material on the cut surface.
- Select the model and open its import settings.
- Make sure Read/Write is enabled.
- Make sure the object’s Mesh Collider has Convex enabled.
- Click Apply in the model import settings if necessary.
- Press Play and attack the object with the Samurai.
Important: Enable Read/Write
The mesh must have Read/Write Enabled. The slicing system needs to access the mesh vertices at runtime in order to cut the object.
To enable it:
Select the model → Inspector → Model → Read/Write → Enable → Apply
If Read/Write is disabled, Unity will not allow the slicing system to access the mesh data at runtime, so the object cannot be sliced.
Important: Enable Convex
If the sliceable object uses a Mesh Collider together with a Rigidbody, make sure Convex is enabled on the
Mesh Collider.
This is required because Unity does not support a non-convex Mesh Collider on a dynamic Rigidbody.
Select the object → Mesh Collider → Enable Convex
The slicing system also creates physics components for the newly generated
pieces.
Requirements
- Unity 6 or compatible Unity version
Notes
The system works best with reasonably clean, closed meshes. Very small, extremely thin, or highly complex meshes may produce less reliable slicing results.
If this asset helped you in your project, please consider supporting my work with a donation (Donation Link)
————————
About the Creator
Developed by: Farnoosh Lotfifard
🌐 Website: https://unityqueen.com
🎥 YouTube: https://www.youtube.com/@unityqueengame)










