I have a minigames game, and it has different maps that are spawned in at a time. How would I spawn a smooth terrain map like I would a normal map made of parts? Or is it better to just have the smooth terrain maps already in the world?
Using terrain in maps is not very common, aside from games having a terrain water toggle as a level of detail feature. You should use parts to create maps that spawn in and out of the workspace because it’s much easier to work with. Terrain can be removed and generated in your use case, but you’d have a hard time figuring out how to construct them with scripts instead of the terrain plugin.
If you want to use terrain, it should be premade instead of built or generated when needed.
Alright, thanks for the info!
30 chars
You can also save/load terrain using this API.
It will require a bit of scripting, but not much more than it takes to copy builds from ServerStorage & into workspace, like I presume your current script does.
Ah, I didn’t notice those functions! Thanks so much! From my tests, it seems there is no problem with just parenting a TerrainRegion somewhere and pasting it beforehand (in studio), so this is perfect.
Here’s a plugin to speed up the process even more.
Wow, I forgot that plugin existed. Thanks for reminding me of it!