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
+23
View File
@@ -46,6 +46,13 @@ tracks/3/path = NodePath("MeshInstance3D/fireD")
tracks/3/interp = 1
tracks/3/loop_wrap = true
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"]
resource_name = "fire_loop"
@@ -107,6 +114,13 @@ tracks/7/path = NodePath("MeshInstance3D/fireD")
tracks/7/interp = 1
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/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"]
_data = {
@@ -147,5 +161,14 @@ transform = Transform3D(0.42311668, 1.5099585e-07, 0, -6.388884e-08, 1.0000002,
mesh = SubResource("PrismMesh_6j2sa")
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]
libraries/ = SubResource("AnimationLibrary_k6xdh")