Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

What is more expensive, Terrain:FillRegion or Terrain:WriteVoxels?

Asked by 7 years ago

I have a for loop that fills a bunch of terrain regions to make a map. I was wondering if it would be better to just have the terrain there already, and just overwrite the voxels to make new maps, rather than deleting all the terrain and filling it again.

1 answer

Log in to vote
-1
Answered by 7 years ago

I suggest you fill the terrain instead of using a scri[t to create one because during the progress of map creation the game will lag pretty bad and if it's a lot of lands it will be worse. If you already have the terrain there it will be less laggy and the players won't have to hope that they won't lag out of your game.

If this helped then please accept answer and upvote.

0
By necessity, I create the terrain from a script. Do you know how I can optimize it? denfeet 9 — 7y
0
no not really since i never done it before BlackOrange3343 2676 — 7y
Ad

Answer this question