click this link but wait when he mines the rock and you can see the rock breaking is that an animation???
2 Answers
2No, it just changes the texture then spawns some smaller pieces with physics on for rubble
You could achieve something similar with a shader that accept two textures for "complete" and "broken", and have a third "crack" alpha texture (or even bumpmap) which you could use to lerp between the complete and broken one. Use a uniform float to increase cracks in the lerp.
The rocks that fly off can be achieved with particle systems.
Finally you could spawn a prefab in its place with added physics and some pick-up script.
It's a texture animation, then :)
– Statement