fix clouds

This commit is contained in:
Overside srl
2026-02-17 16:00:53 +01:00
parent f7ec818c23
commit c7d2ae14b3
16 changed files with 36 additions and 51 deletions

View File

@@ -30,6 +30,11 @@ func _ready() -> void:
train.track_generator = track_generator
camera.train = train
#hide debug panel for sky
var sky := get_node_or_null("DynamicSky") as DynamicSkyRoot
if sky and sky._debug_canvas_layer:
sky._debug_canvas_layer.visible = false
# Terreno
var ground = MeshInstance3D.new()
ground.name = "Ground"

View File

@@ -34,7 +34,7 @@ func _process(delta: float) -> void:
func _handle_input(delta: float) -> void:
if Input.is_action_just_pressed("ui_accept"):
if Input.is_action_just_pressed("change_camera"):
mode = ((mode + 1) % CameraMode.size()) as CameraMode
orbit_angle = 0.0