Is this an animation????

click this link but wait when he mines the rock and you can see the rock breaking is that an animation???

http://www.youtube.com/watch?v=fTGNIAZIOiY

2 Answers

2

No, it just changes the texture then spawns some smaller pieces with physics on for rubble

It's a texture animation, then :)

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.