Can we tween Terrain?

The title says it all.
I want to tween terrain so that it gives an effect of the world shrinking. I need grass decoration. Is it possible in a way that Erode Tool does? It’s effect is natural.

2 Likes

I’m pretty sure you can’t smoothly tween terrain. You could get the region3s around the terrain and then delete bits of the terrain. That would shrink your terrain but not so smoothly.

Could I do like filling the part with terrain then undoing it then decreasing part size a little and repeat?

it’s most likely possible to recreate the terrain editor, and hence make this effect, but I’m not sure how

As far as I know it is not possible to edit terrain (move, resize, rotate) with a script in a live game. I would love to be proven wrong though as this would also help me out alot on my game that uses terrain… Your best bet is to not use terrain here.

That’s what I’m doing, if it was possible, it’d have been so much nicer. Now, it’s super low poly… Or Roblox could allow decorations on parts with materials as grass… That will at least give us ability to shrink part with grass if not all types of terrains.

1 Like

There is a method of saving / deleting terrain in-game, though currently it’s Server side only as it’s (unfortunately) not replicated!

Perhaps analysing the base coding for this Plugin can assist as it uses the same mechanic to save and transfer between games.

Yes, you can save all the terrain currently in the workspace to a TerrainRegion with: workspace.Terrain:CopyRegion(workspace.Terrain.MaxExtents)
And load that TerrainRegion to a Terrain object with:
workspace.Terrain:PasteRegion(TerrainRegion, workspace.Terrain.MaxExtents.Min, true)
But the question of the OP was if terrain can be tweened (moved, resized, rotated). This can’t be done with these methods. They are only for saving and loading terrain you made.