Hey community
I have a problem with setting terrain size via script.
example:
int width = 1000;
int lenght = 1000;
int height = 600;
TerrainData.size = new Vector3(width, height, lenght);
this should give me a terrain with the given values… but when I select the created terrain in my scene and go to terrain/set Resolution it shows that my terrain is 600 in height, which is correct, 16000 in width/lenght !?
Anybody knows whats going wrong?