extends Terrain3D func _ready(): Global.terrain = self