torches light animation

This commit is contained in:
2026-09-03 07:53:55 +03:00
parent 34dc5b026e
commit 07f8a71f2c
3 changed files with 23 additions and 48 deletions
-48
View File
@@ -78,75 +78,27 @@ spot_range = 22.312231
[node name="Torch" parent="Lights/Torches" unique_id=1280811583 instance=ExtResource("1_w7uyf")] [node name="Torch" parent="Lights/Torches" unique_id=1280811583 instance=ExtResource("1_w7uyf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.966858, -0.26246262, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.966858, -0.26246262, 0)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch" unique_id=657957966]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch2" parent="Lights/Torches" unique_id=472577842 instance=ExtResource("1_w7uyf")] [node name="Torch2" parent="Lights/Torches" unique_id=472577842 instance=ExtResource("1_w7uyf")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.3695145, 0, 0) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.3695145, 0, 0)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch2" unique_id=1032256451]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch3" parent="Lights/Torches" unique_id=207127049 instance=ExtResource("1_w7uyf")] [node name="Torch3" parent="Lights/Torches" unique_id=207127049 instance=ExtResource("1_w7uyf")]
transform = Transform3D(0.0026565322, 0, 0.9999965, 0, 1, 0, -0.9999965, 0, 0.0026565322, -0.38332775, 1.9073486e-06, 16.218426) transform = Transform3D(0.0026565322, 0, 0.9999965, 0, 1, 0, -0.9999965, 0, 0.0026565322, -0.38332775, 1.9073486e-06, 16.218426)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch3" unique_id=1415372954]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch4" parent="Lights/Torches" unique_id=601493997 instance=ExtResource("1_w7uyf")] [node name="Torch4" parent="Lights/Torches" unique_id=601493997 instance=ExtResource("1_w7uyf")]
transform = Transform3D(0.0026565322, 0, 0.9999965, 0, 1, 0, -0.9999965, 0, 0.0026565322, -0.3482311, 1.9073486e-06, 3.0070276) transform = Transform3D(0.0026565322, 0, 0.9999965, 0, 1, 0, -0.9999965, 0, 0.0026565322, -0.3482311, 1.9073486e-06, 3.0070276)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch4" unique_id=522455985]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch5" parent="Lights/Torches" unique_id=1952598831 instance=ExtResource("1_w7uyf")] [node name="Torch5" parent="Lights/Torches" unique_id=1952598831 instance=ExtResource("1_w7uyf")]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0.09400132, 1.9073486e-06, -0.31505296) transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 0.09400132, 1.9073486e-06, -0.31505296)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch5" unique_id=1334949794]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch6" parent="Lights/Torches" unique_id=830103133 instance=ExtResource("1_w7uyf")] [node name="Torch6" parent="Lights/Torches" unique_id=830103133 instance=ExtResource("1_w7uyf")]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 16.002838, 1.9073486e-06, -0.31505156) transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, 16.002838, 1.9073486e-06, -0.31505156)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch6" unique_id=620547771]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch7" parent="Lights/Torches" unique_id=1842073656 instance=ExtResource("1_w7uyf")] [node name="Torch7" parent="Lights/Torches" unique_id=1842073656 instance=ExtResource("1_w7uyf")]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.349617, 1.9073486e-06, -0.31505227) transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.349617, 1.9073486e-06, -0.31505227)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch7" unique_id=1456571020]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="Torch8" parent="Lights/Torches" unique_id=987701581 instance=ExtResource("1_w7uyf")] [node name="Torch8" parent="Lights/Torches" unique_id=987701581 instance=ExtResource("1_w7uyf")]
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.349617, 1.9073486e-06, -0.31505227) transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.349617, 1.9073486e-06, -0.31505227)
[node name="OmniLight3D" type="OmniLight3D" parent="Lights/Torches/Torch8" unique_id=674836760]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=939963056] [node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=939963056]
environment = SubResource("Environment_lobby") environment = SubResource("Environment_lobby")
+23
View File
@@ -46,6 +46,13 @@ tracks/3/path = NodePath("MeshInstance3D/fireD")
tracks/3/interp = 1 tracks/3/interp = 1
tracks/3/loop_wrap = true tracks/3/loop_wrap = true
tracks/3/keys = PackedFloat32Array(0, 1, 0, 0, 0) tracks/3/keys = PackedFloat32Array(0, 1, 0, 0, 0)
tracks/4/type = "position_3d"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("MeshInstance3D/TorchLight/OmniLight3D")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = PackedFloat32Array(0, 1, 9.096397, 6.2542057, -15.77264)
[sub_resource type="Animation" id="Animation_3vdjf"] [sub_resource type="Animation" id="Animation_3vdjf"]
resource_name = "fire_loop" resource_name = "fire_loop"
@@ -107,6 +114,13 @@ tracks/7/path = NodePath("MeshInstance3D/fireD")
tracks/7/interp = 1 tracks/7/interp = 1
tracks/7/loop_wrap = true tracks/7/loop_wrap = true
tracks/7/keys = PackedFloat32Array(0, 1, -0.42311668, -1.0000002, -0.41596806, 0.36666667, 1, -0.42311668, -1.0000002, -0.41596806, 0.8333334, 1, -0.42311668, -1.0000002, -0.41596806, 1.2333333, 1, -0.42311668, -0.98465025, -0.41596806, 1.4564416, 1, -0.42311668, -1.0000002, -0.41596806) tracks/7/keys = PackedFloat32Array(0, 1, -0.42311668, -1.0000002, -0.41596806, 0.36666667, 1, -0.42311668, -1.0000002, -0.41596806, 0.8333334, 1, -0.42311668, -1.0000002, -0.41596806, 1.2333333, 1, -0.42311668, -0.98465025, -0.41596806, 1.4564416, 1, -0.42311668, -1.0000002, -0.41596806)
tracks/8/type = "position_3d"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("MeshInstance3D/TorchLight/OmniLight3D")
tracks/8/interp = 2
tracks/8/loop_wrap = true
tracks/8/keys = PackedFloat32Array(0, 1, 9.096397, 6.2542057, -15.77264, 0.26666668, 1, 8.956921, 5.991557, -15.77264, 0.56666666, 1, 9.294293, 6.2662745, -15.77264, 0.86696213, 1, 9.096397, 6.2542057, -15.77264, 1.2, 1, 9.096985, 5.885635, -15.773023, 1.4581149, 1, 9.096397, 6.2542057, -15.77264)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k6xdh"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_k6xdh"]
_data = { _data = {
@@ -147,5 +161,14 @@ transform = Transform3D(0.42311668, 1.5099585e-07, 0, -6.388884e-08, 1.0000002,
mesh = SubResource("PrismMesh_6j2sa") mesh = SubResource("PrismMesh_6j2sa")
surface_material_override/0 = ExtResource("2_4o8fq") surface_material_override/0 = ExtResource("2_4o8fq")
[node name="TorchLight" type="Node3D" parent="MeshInstance3D" unique_id=419474857]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.011785, -2.371254, 16.232264)
[node name="OmniLight3D" type="OmniLight3D" parent="MeshInstance3D/TorchLight" unique_id=1094582672]
transform = Transform3D(0.9999986, -0.001596809, 0.00045388562, 0.0014380338, 0.96984345, 0.24372463, -0.00082937966, -0.24372365, 0.9698444, 9.096397, 6.2542057, -15.77264)
light_color = Color(0.92773837, 0.6304423, 0, 1)
shadow_enabled = true
omni_range = 13.657384
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=505242559] [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=505242559]
libraries/ = SubResource("AnimationLibrary_k6xdh") libraries/ = SubResource("AnimationLibrary_k6xdh")