Package on asset store: https://assetstore.unity.com/packages/tools/modeling/mesh-slicer-59618
The main stages of slicing is:
Preparing data
Find all renderers with meshes
Slice meshes
Finish
Preparing data stage
Here, in PrepareData method, you can do some pre-calculations and store it in slice data, it will be returned to you in finish method. For example, you can save the Id of the person who is going to chop the enemy's head and then get it in OnSliceFinished method. It is important in asynchronous mode, because you may have a lot of slicing at the same time and you do not know how was initiator of successful one.
Slice meshes
The plugin tries to slice each mesh separately. If, after slice, validation is not success, it do not slice this mesh.
The whole slice is success if we have meshes on both sides of the plane, even if no meshes was sliced.
Finish
Apply changes and invoke event handlers. I believe nothing is needed to be clarified there.
jarmo hamalainenHi. I got free version working in my project, but only in editor. Project is Mixed Reality VR (UWP) IL2CPP. Does this work in that project type release version?
Hi. I got free version working in my project, but only in editor. Project is Mixed Reality VR (UWP) IL2CPP. Does this work in that project type release version?
Hey Staz, I'm going to make an "iSlash Heroes" style game. Could you please review that game? Can I do the cutting control with this asset as in that game? This is very important to me, can you answer it? According to him, I will buy this asset. I am a student and I don't have much money. So I have to use my money properly. Thank you.
Zico RitondaHai, i'm really interested in your mesh slicer asset and i've tried the demo. Is this asset can be used to cut mesh with custom shape or other than plane?