Hi everyone,
I'm working to create a terrain generated by code, in GDScript, and I'm a bit confused about how to update the geometry when I modify a parameter.
For example, if I want to change the height of the terrain positions with a noise, at the moment I completely delete the previous surface to recreate it with the modification.
But maybe it's not the right way.
The terrain surface, vertices, face indexes, vertex colors etc. have already been created once, maybe it is possible and more efficient to change only the coordinates of the vertices ?
If so, can you tell me how to proceed?
The documentation only gives indications on how to create a surface, not how to modify it.
Thanks in advance!