Question by
akilaydin2 · Feb 16, 2021 at 03:36 PM ·
mesh3dmeshcollidercutcut-off
Delete or hide part of a mesh.
Hello! I've been working on casual game that allows you to cut a key from a shape of the key. I have a line renderer that shows trajectory on which player should move mouse cursor to cut the key properly.
But I cant figure out how to delete parts of mesh that player has already cut and I hope that you will help me and guide me In some direction because I completely stuck.
I tried to use asset that called Ezy-Slice, it allows you to cut pieces from mesh, but the problem is that it cuts through all of the mesh, but I need some pinpoint interaction.
Now my game looks like this And as for me, all I need to do is somehow delete parts of mesh that are above the green line, when player passes white dots on the line.
Please, help me. Thanks.
1.png
(83.8 kB)
Comment