Edit terrain height by script

I want to change the terrain height by scripting during the game…

Think about “Worms”. When a weapon makes a explosion, a huge hole destroys part of the terrain… I would like to make something like that.

I would like to make the opposite thing, too. Not lowering the terrain, but raising it. Like a pirate digging in the beach, looking for a treasure… he is making a hole in the sand, and at the same time, he is making a little sand mountain out of the hole.

What do you guys think about it? Any ideas?

thank you¡

Look up the TerrainData class in the docs.

–Eric