add 'follow camera'

This commit is contained in:
2026-03-25 19:36:52 +01:00
parent ce6d9673ca
commit a07cfa19a4
7 changed files with 56 additions and 26 deletions

View File

@@ -4,6 +4,9 @@ extends Node3D
@export var environment_config: EnvironmentConfig
@export_group("Camera")
@export var camera: Camera3D
@export_group("Particles")
@export var particles_wind: GPUParticles3D
@export var particles_snow: GPUParticles3D
@@ -39,7 +42,8 @@ func _ready() -> void:
godray,
sun,
environment,
environment_config
environment_config,
camera
)
weather_controller.name = "WeatherController"
add_child(weather_controller)