add rain and snow - fix sky color by time

This commit is contained in:
Overside srl
2026-02-16 21:34:02 +01:00
parent 65bb24ff6a
commit c07796f881
11 changed files with 670 additions and 83 deletions

View File

@@ -207,10 +207,9 @@ func _create_star_trail(position: Vector3, direction: Vector3, is_meteor: bool =
mesh_instance.material_override = material
mesh_instance.position = position
add_child(mesh_instance)
mesh_instance.look_at(position + direction, Vector3.UP)
mesh_instance.rotate_object_local(Vector3.RIGHT, PI / 2.0)
add_child(mesh_instance)
return mesh_instance