This is my current mess of a script to generate some small terrain chunk with plants and tree’s on it.
Currently it can only generate small area’s of land, and even when it does, it does it very slowly and lags the entire game. What I eventually want it to do is generate terrain around the player in chunks, however not only do I have no idea how to make chunks, but I can’t control the positioning of where the terrain is even generated, as its always generated around 0,0,0.
So in Laymen’s terms, I have a Laggy terrain generator that only generates terrain at the center of the map and have no idea how to branch off this to get a chunk system to generate terrain smoothly around the player without my pc catching fire. Yes I’ve looked around and done research on it, but I can’t find anywhere where it states how exactly in scripting terms, it is done. And even when I get a module or script for it, I can’t understand a single line of code because of how weirdly thrown together the variables are.
Hopefully this sums up my stupidity enough and I’d gladly like some feedback on how to fix this up.
