Hey, so pretty new to unity and game development in general but basically what i am trying to achieve is a digging effect. As an example of what I’m after, assume a player is standing on a cube and the character can hit the cube with an object and a after a digging animation and duration a deformation of the cube’s mesh will occur at that hit point instantaneously. if the player was to keep digging away eventually the cube would be destroyed. My world is done in a low poly style so the target mesh i want to dig is made up of noticeable sized polygons.
Sort of just after a direction i should take with this? Perhaps using unity’s mesh class and displacing the vertices around the hit point? An idea i had would be to edit the vertices based on how close they are to an origin similar to blender’s proportional editing but I’m not sure about how to go about this. Is there a more appropriate way to do this?