Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

@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.