Unity 2D. How to make the destruction of earth like in Pocket tanks?

Hi all, in unity I recently. How to make the destruction of the earth like the video?
For example, the shot at 38 seconds. https://youtu.be/BmtcAA-1ke0?t=38
After contact hole is formed, the surface of the earth is changing. How should be arranged the object land? I understand it won't be a normal sprite, but something like a line renderer?
Prompt, in what side to dig?
March 19th 20 at 09:03
1 answer
March 19th 20 at 09:05
In this video all the destruction, which was previously drawn. If someone played Worms 3D, we saw how they destroyed the map. This is done by the method of minecraft + sglazhivanie the edges and boundaries of textures.

Here's a 2D analogue:
5ca257b849582380386565.jpeg

1. Create a map out of blocks
2. We need the centers of these cubes
3. On them now will work
4. Apply a suitable smoothing algorithm
5. Draw what happened

And in contact with the projectile, you need to remove a certain number of cubes or just redraw the map
Each cube is a separate object with a rigidbody2d and boxcollider2d? These cubes need thousands, not be too resource-intensive? - donna.Lindgren commented on March 19th 20 at 09:08
@donna.Lindgren, not if the map is not big in size and try to add all prefabs - Hettie commented on March 19th 20 at 09:11

Find more questions by tags Unity Game EngineDevelopment of games