2026-01-13 21:00:27 +01:00
|
|
|
[gd_scene load_steps=14 format=3 uid="uid://svj53e2xoio"]
|
2025-11-21 12:28:54 +01:00
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://d1xcqdqr1qeu6" path="res://assets/MixamoAmy.glb" id="1_0xm2m"]
|
2026-01-11 22:20:39 +01:00
|
|
|
[ext_resource type="Script" uid="uid://bjvgqujpqumj7" path="res://main.gd" id="1_1bvp3"]
|
|
|
|
|
[ext_resource type="AnimationLibrary" uid="uid://dwubn740aqx51" path="res://animation_library.res" id="3_1bvp3"]
|
2026-01-12 22:23:24 +01:00
|
|
|
[ext_resource type="AnimationNodeBlendTree" uid="uid://dqy0dgwsm8t46" path="res://animation_tree_walk_limp.tres" id="3_272bh"]
|
2026-01-17 00:35:53 +01:00
|
|
|
[ext_resource type="BLTAnimationNodeBlendTree" uid="uid://2qfwr1xkiw0s" path="res://synced_blend_tree_walk_limp.tres" id="4_lquwl"]
|
|
|
|
|
[ext_resource type="BLTAnimationNodeBlendTree" uid="uid://qsk64ax2o47f" path="res://synced_blend_tree_walk_run.tres" id="5_7mycd"]
|
2026-01-12 22:23:24 +01:00
|
|
|
[ext_resource type="AnimationNodeBlendTree" uid="uid://vsf71o82lkld" path="res://animation_tree_walk_run.tres" id="6_5vw27"]
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-13 21:00:27 +01:00
|
|
|
[sub_resource type="Theme" id="Theme_272bh"]
|
|
|
|
|
default_font_size = 30
|
|
|
|
|
Label/fonts/DefaultFont = null
|
|
|
|
|
|
2026-01-11 22:20:39 +01:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_h2yge"]
|
|
|
|
|
albedo_color = Color(0.427493, 0.42749307, 0.42749307, 1)
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-11 22:20:39 +01:00
|
|
|
[sub_resource type="PlaneMesh" id="PlaneMesh_h2yge"]
|
|
|
|
|
material = SubResource("StandardMaterial3D_h2yge")
|
|
|
|
|
size = Vector2(20, 20)
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-11 22:20:39 +01:00
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_h2yge"]
|
|
|
|
|
sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
|
|
|
|
ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1)
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-11 22:20:39 +01:00
|
|
|
[sub_resource type="Sky" id="Sky_1bvp3"]
|
|
|
|
|
sky_material = SubResource("ProceduralSkyMaterial_h2yge")
|
|
|
|
|
|
|
|
|
|
[sub_resource type="Environment" id="Environment_lquwl"]
|
|
|
|
|
background_mode = 2
|
|
|
|
|
sky = SubResource("Sky_1bvp3")
|
|
|
|
|
tonemap_mode = 2
|
|
|
|
|
glow_enabled = true
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Main" type="Node3D" unique_id=933302313]
|
2026-01-11 22:20:39 +01:00
|
|
|
script = ExtResource("1_1bvp3")
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="UI" type="CanvasLayer" parent="." unique_id=833570844]
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="UI" unique_id=2079852348]
|
2026-01-11 22:20:39 +01:00
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -153.5
|
|
|
|
|
offset_top = -40.0
|
|
|
|
|
offset_right = 153.5
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 8
|
2026-01-13 21:00:27 +01:00
|
|
|
theme = SubResource("Theme_272bh")
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="UI/MarginContainer" unique_id=965781454]
|
2026-01-11 22:20:39 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_constants/separation = 14
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Label" type="Label" parent="UI/MarginContainer/HBoxContainer" unique_id=634588892]
|
2026-01-11 22:20:39 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Blend Weight"
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="BlendWeightSlider" type="HSlider" parent="UI/MarginContainer/HBoxContainer" unique_id=708139207]
|
2026-01-11 22:20:39 +01:00
|
|
|
unique_name_in_owner = true
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
max_value = 1.0
|
|
|
|
|
step = 0.001
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="BlendWeightLabel" type="Label" parent="UI/MarginContainer/HBoxContainer" unique_id=1745243570]
|
2026-01-11 22:20:39 +01:00
|
|
|
unique_name_in_owner = true
|
2026-01-13 21:00:27 +01:00
|
|
|
custom_minimum_size = Vector2(80, 0)
|
2026-01-11 22:20:39 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
text = "0.0"
|
2026-01-13 21:00:27 +01:00
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MarginContainer2" type="MarginContainer" parent="UI" unique_id=1639984576]
|
2026-01-13 21:00:27 +01:00
|
|
|
anchors_preset = 10
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
offset_bottom = 23.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
theme_override_constants/margin_top = 80
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="UI/MarginContainer2" unique_id=1134641196]
|
2026-01-13 21:00:27 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 0
|
|
|
|
|
theme_override_constants/separation = 400
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Label" type="Label" parent="UI/MarginContainer2/HBoxContainer2" unique_id=1630716301]
|
2026-01-13 21:00:27 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
|
text = "Unsynced"
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="EmptyLabel" type="Label" parent="UI/MarginContainer2/HBoxContainer2" unique_id=991022601]
|
2026-01-13 21:00:27 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Label3" type="Label" parent="UI/MarginContainer2/HBoxContainer2" unique_id=736671898]
|
2026-01-13 21:00:27 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
theme_override_font_sizes/font_size = 32
|
|
|
|
|
text = "Synced"
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Level" type="Node3D" parent="." unique_id=1485026735]
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="Level" unique_id=2025315417]
|
2026-01-11 22:20:39 +01:00
|
|
|
mesh = SubResource("PlaneMesh_h2yge")
|
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="Level" unique_id=468068224]
|
2026-01-11 22:20:39 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.14081486, 0.99003595, 0, -0.99003595, 0.14081486, 0, 2.0531263, 4.9494514)
|
|
|
|
|
shadow_enabled = true
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="Level" unique_id=1787092986]
|
2026-01-11 22:20:39 +01:00
|
|
|
environment = SubResource("Environment_lquwl")
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Camera3D" type="Camera3D" parent="Level" unique_id=1534208216]
|
2026-01-13 21:00:27 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.95413065, 0.29939055, 0, -0.29939055, 0.95413065, 0, 1.649, 3.197)
|
2026-01-12 22:23:24 +01:00
|
|
|
fov = 36.8
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="Characters" type="Node3D" parent="." unique_id=1282309438]
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MixamoAmyWalkLimp" parent="Characters" unique_id=829927137 instance=ExtResource("1_0xm2m")]
|
2026-01-12 22:23:24 +01:00
|
|
|
unique_name_in_owner = true
|
2026-01-13 21:00:27 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.4, 0, 0)
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="Characters/MixamoAmyWalkLimp" unique_id=1713995200]
|
2026-01-12 22:23:24 +01:00
|
|
|
tree_root = ExtResource("3_272bh")
|
|
|
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
|
|
|
parameters/Blend2/blend_amount = 0.0
|
|
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MixamoAmyWalkRun" parent="Characters" unique_id=1431806836 instance=ExtResource("1_0xm2m")]
|
2026-01-11 22:20:39 +01:00
|
|
|
unique_name_in_owner = true
|
2026-01-13 21:00:27 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.6, 0, 0)
|
2026-01-12 22:23:24 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="Characters/MixamoAmyWalkRun" unique_id=1079690622]
|
2026-01-12 22:23:24 +01:00
|
|
|
tree_root = ExtResource("6_5vw27")
|
2026-01-11 22:20:39 +01:00
|
|
|
anim_player = NodePath("../AnimationPlayer")
|
2026-01-13 21:00:27 +01:00
|
|
|
parameters/Blend2/blend_amount = 0.0
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MixamoAmyWalkLimpSynced" parent="Characters" unique_id=1018815116 instance=ExtResource("1_0xm2m")]
|
2026-01-12 22:23:24 +01:00
|
|
|
unique_name_in_owner = true
|
2026-01-13 21:00:27 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.6, 0, 0)
|
2026-01-11 22:20:39 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="AnimationPlayer2" type="AnimationPlayer" parent="Characters/MixamoAmyWalkLimpSynced" unique_id=379737684]
|
|
|
|
|
libraries/animation_library = ExtResource("3_1bvp3")
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="SyncedAnimationGraph" type="BLTAnimationGraph" parent="Characters/MixamoAmyWalkLimpSynced" unique_id=1866796918]
|
2026-01-12 22:23:24 +01:00
|
|
|
animation_player = NodePath("../AnimationPlayer2")
|
|
|
|
|
tree_root = ExtResource("4_lquwl")
|
|
|
|
|
skeleton = NodePath("../Armature/Skeleton3D")
|
2026-01-17 00:35:53 +01:00
|
|
|
parameters/BLTAnimationNodeBlend2/blend_amount = 0.4
|
2026-01-12 22:23:24 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="MixamoAmyWalkRunSynced" parent="Characters" unique_id=2088190993 instance=ExtResource("1_0xm2m")]
|
2026-01-11 22:20:39 +01:00
|
|
|
unique_name_in_owner = true
|
2026-01-13 21:00:27 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.4, 0, 0)
|
2026-01-12 22:23:24 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="AnimationPlayer2" type="AnimationPlayer" parent="Characters/MixamoAmyWalkRunSynced" unique_id=1255239074]
|
|
|
|
|
libraries/animation_library = ExtResource("3_1bvp3")
|
2026-01-12 22:23:24 +01:00
|
|
|
|
2026-01-17 00:35:53 +01:00
|
|
|
[node name="SyncedAnimationGraph" type="BLTAnimationGraph" parent="Characters/MixamoAmyWalkRunSynced" unique_id=1602406394]
|
2026-01-11 22:20:39 +01:00
|
|
|
animation_player = NodePath("../AnimationPlayer2")
|
2026-01-12 22:23:24 +01:00
|
|
|
tree_root = ExtResource("5_7mycd")
|
2026-01-11 22:20:39 +01:00
|
|
|
skeleton = NodePath("../Armature/Skeleton3D")
|
2026-01-17 00:35:53 +01:00
|
|
|
parameters/BLTAnimationNodeBlend2/blend_amount = 0.4
|
2026-01-11 22:20:39 +01:00
|
|
|
|
|
|
|
|
[connection signal="value_changed" from="UI/MarginContainer/HBoxContainer/BlendWeightSlider" to="." method="_on_blend_weight_slider_value_changed"]
|
2025-11-21 12:28:54 +01:00
|
|
|
|
2026-01-12 22:23:24 +01:00
|
|
|
[editable path="Characters/MixamoAmyWalkLimp"]
|
|
|
|
|
[editable path="Characters/MixamoAmyWalkRun"]
|
|
|
|
|
[editable path="Characters/MixamoAmyWalkLimpSynced"]
|
|
|
|
|
[editable path="Characters/MixamoAmyWalkRunSynced"]
|