day_night_cycle.gd 150 B

123456
  1. extends DirectionalLight3D
  2. func _process(delta):
  3. rotate_object_local(Vector3.RIGHT, 0.025 * delta)
  4. #rotate_object_local(Vector3.FORWARD, randf())