@mikeNspired it is indeed cutting a solid mesh dynamically at runtime. Unity allows manipulation of mesh vertices and textures at runtime. There are a few mesh cutting tools out there, the one I used is called Shatter Toolkit which can be found on the asset store. From there, it was simply a matter of converting the planar cuts from 2D XY (with mouse) to 3D with appropriate rotation angles. Currently, when you cut, it will always make a straight cut (planar cut), which is actually quite difficult to do when cutting with a real sword, so in a way, you are cutting as a master swordsman as a result. If I were to expand on this game idea, I would like to figure out how to make curved cuts work with dynamic meshes, which is something that doesn't seem possible currently or at least is very difficult. This way, you can actually get rated on the quality of your cut, whether it was a clean/straight cut, or whether it curved or changed direction through the target.
Recent community posts
Very awesome! Had a bug where at first it didn't detect the Leap, but ran it again and it worked. I want to learn how to play a song with this so I can impress all the ladies with my nerdiness (screw playing a normal guitar).
I like the look and design and sounds, but was hoping for a more interactive gameplay experience. Would be cool if you can either control where the hand is relative to the body or maybe make your hands control the momentum of the body. Here is a demo with a similar concept if you haven't seen it yet: