[gd_scene format=3 uid="uid://bod6b3befmyt5"] [ext_resource type="PackedScene" uid="uid://cw7duhhjebypt" path="res://scenes/player/raygun.tscn" id="1_a50o4"] [ext_resource type="PackedScene" uid="uid://ncxcmgdit2j1" path="res://mesh/soldier_m.tscn" id="1_sxefq"] [ext_resource type="PackedScene" uid="uid://cg81784ct8gf5" path="res://mesh/raygun.tscn" id="3_jbny0"] [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_a50o4"] animation = &"Soldier|StrafeLeft" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_jbny0"] animation = &"Soldier|StrafeRight" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_kknoo"] animation = &"Soldier|Run" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hjbn3"] animation = &"Soldier|ReverseRun" [sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_3lfhi"] animation = &"Soldier|Idle" [sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_tt88r"] sync_mode = 2 blend_point_0/node = SubResource("AnimationNodeAnimation_a50o4") blend_point_0/pos = Vector2(-1, 0) blend_point_0/name = &"Soldier|StrafeLeft" blend_point_1/node = SubResource("AnimationNodeAnimation_jbny0") blend_point_1/pos = Vector2(1, 0) blend_point_1/name = &"Soldier|StrafeRight" blend_point_2/node = SubResource("AnimationNodeAnimation_kknoo") blend_point_2/pos = Vector2(0, 1) blend_point_2/name = &"Soldier|Run" blend_point_3/node = SubResource("AnimationNodeAnimation_hjbn3") blend_point_3/pos = Vector2(0, -1) blend_point_3/name = &"Soldier|ReverseRun" blend_point_4/node = SubResource("AnimationNodeAnimation_3lfhi") blend_point_4/pos = Vector2(0, 0) blend_point_4/name = &"Soldier|Idle" [sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_kgpx5"] graph_offset = Vector2(-81.14978, 126.45578) nodes/output/position = Vector2(560, 100) nodes/Movement/node = SubResource("AnimationNodeBlendSpace2D_tt88r") nodes/Movement/position = Vector2(350, 90) node_connections = [&"output", 0, &"Movement"] [node name="soldier_m" type="SoldierMesh" unique_id=281995630 node_paths=PackedStringArray("hand_attachment", "animation_tree", "skeleton", "look_at")] hand_attachment = NodePath("bone_attachment_3d/hand") animation_tree = NodePath("animation_tree") skeleton = NodePath("SoldierM/Soldier/Skeleton3D") raygun = ExtResource("1_a50o4") look_at = NodePath("look_at_root") [node name="SoldierM" parent="." unique_id=1868587353 instance=ExtResource("1_sxefq")] [node name="Skeleton3D" parent="SoldierM/Soldier" parent_id_path=PackedInt32Array(1868587353, 803584260) index="0" unique_id=1574145981] bones/0/position = Vector3(0, 0, 0.00071418716) bones/1/position = Vector3(0, 0, -0.007) bones/1/rotation = Quaternion(0.70569277, 0, 0, 0.7085179) bones/1/scale = Vector3(1, 1, 1) bones/2/position = Vector3(0.002, 3.469447e-18, -1.4901118e-10) bones/2/rotation = Quaternion(0.9509405, 2.0995262e-08, 2.3608855e-08, -0.30937394) bones/2/scale = Vector3(1, 1, 1) bones/3/position = Vector3(0, 0.0069999984, 5.169879e-25) bones/3/scale = Vector3(1, 0.99999994, 1) bones/4/position = Vector3(-2.39752e-11, 0.010049875, -1.4156722e-10) bones/4/rotation = Quaternion(0.73982674, -2.6881349e-08, 7.0005948e-09, 0.67279744) bones/4/scale = Vector3(1, 0.99999994, 0.99999994) bones/6/position = Vector3(-0.002, 3.469447e-18, -1.4901205e-10) bones/6/rotation = Quaternion(0.99916035, 1.7885682e-08, 1.893182e-08, 0.04097233) bones/6/scale = Vector3(1, 1, 1) bones/7/position = Vector3(0, 0.0069999984, -5.169879e-25) bones/7/rotation = Quaternion(-0.21973656, 4.264305e-08, 9.604991e-09, 0.9755593) bones/7/scale = Vector3(1, 0.99999994, 1) bones/8/position = Vector3(-2.3975525e-11, 0.010049875, -4.6138777e-11) bones/8/rotation = Quaternion(0.86758894, -7.867721e-09, 3.036851e-08, 0.4972821) bones/8/scale = Vector3(1, 0.99999994, 0.99999994) bones/10/position = Vector3(0, 0.009, 0) bones/10/rotation = Quaternion(-0.1704422, -0.13139531, 0.021929594, 0.9763216) bones/10/scale = Vector3(1, 1, 1) bones/11/position = Vector3(6.8186457e-17, 0.008, 0.001) bones/11/rotation = Quaternion(0.005668696, 1.1375248e-05, -0.0015512996, 0.9999828) bones/11/scale = Vector3(1, 1, 1) bones/12/position = Vector3(-2.2285185e-16, 0.0035, 0.0015000002) bones/12/rotation = Quaternion(-0.70710677, 0, 0, 0.70710677) bones/12/scale = Vector3(1, 1, 1) bones/14/position = Vector3(0.005, 0.005, -1.7336413e-21) bones/14/rotation = Quaternion(0.88285106, 0.032361757, 0.43712845, -0.16865772) bones/14/scale = Vector3(1, 0.99999994, 1) bones/15/position = Vector3(-1.3005262e-15, 0.0050000004, -6.938894e-18) bones/15/rotation = Quaternion(1.0160434e-08, -7.0616895e-09, 0.92007947, 0.39173177) bones/15/scale = Vector3(1, 1, 1) bones/16/position = Vector3(7.632945e-11, 0.007071071, 6.938894e-18) bones/16/rotation = Quaternion(0.027662799, -0.041891776, -0.18596037, 0.981274) bones/16/scale = Vector3(0.99999994, 0.9999999, 1) bones/18/position = Vector3(-0.005, 0.005, -1.7303326e-21) bones/18/rotation = Quaternion(0.64603364, 0.20885898, -0.09923112, -0.7274418) bones/18/scale = Vector3(1, 0.99999994, 1) bones/19/position = Vector3(-1.3005262e-15, 0.0050000004, -6.938894e-18) bones/19/rotation = Quaternion(-1.7631736e-08, -3.747539e-08, -0.17163937, 0.98515993) bones/19/scale = Vector3(1, 1, 1) bones/20/position = Vector3(-2.2286711e-10, 0.007071072, 0) bones/20/rotation = Quaternion(-0.13869229, -0.45811948, -0.17229414, 0.8609331) bones/20/scale = Vector3(1, 0.9999999, 1) bones/22/position = Vector3(0.012243621, -0.0085772155, 0.0022597443) bones/22/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08) bones/22/scale = Vector3(1, 1, 1) bones/24/position = Vector3(-0.011000002, 0.0050000013, 0.0070000007) bones/24/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08) bones/24/scale = Vector3(1, 1, 1) bones/26/position = Vector3(0.0025000002, 0.005, 0.0045) bones/26/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08) bones/26/scale = Vector3(1, 1, 1) bones/28/position = Vector3(-0.0025, 0.005, 0.0045) bones/28/rotation = Quaternion(3.090862e-08, 0.70710677, 0.70710677, 3.090862e-08) bones/28/scale = Vector3(1, 1, 1) bones/30/position = Vector3(0.002, 0.012192632, -0.012331131) bones/32/position = Vector3(-0.002, 0.012192632, -0.012331131) bones/34/position = Vector3(0.002, 0.0031428207, -0.022681827) bones/34/scale = Vector3(1, 1, 1) bones/36/position = Vector3(-0.002, -0.00568604, -0.02264523) bones/36/rotation = Quaternion(0, 0, 0, 1) [node name="look_at_modifier_3d" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="1" unique_id=1054155740] target_node = NodePath("../../../../look_at_root/look_at") bone_name = "HEAD" bone = 11 forward_axis = 5 origin_from = 2 origin_external_node = NodePath("../../../../look_at_root") [node name="look_at_modifier_3d2" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="2" unique_id=916451501] transform = Transform3D(1, -2.2737368e-13, 0, 2.2737368e-13, 1, 0, -1.3552527e-20, 0, 1, 0, 0, 0) target_node = NodePath("../../../../look_at_root/look_at") bone_name = "UA.R" bone = 14 forward_axis = 1 relative = true origin_from = 2 origin_external_node = NodePath("../../../../look_at_root") [node name="look_at_modifier_3d3" type="LookAtModifier3D" parent="SoldierM/Soldier/Skeleton3D" index="3" unique_id=1721786929] transform = Transform3D(1, -6.82121e-13, 0, 6.82121e-13, 1, 0, -4.065758e-20, 0, 1, 0, 0, 0) target_node = NodePath("../../../../look_at_root/look_at") bone_name = "UA.L" bone = 18 forward_axis = 2 primary_rotation_axis = 2 relative = true origin_from = 2 origin_external_node = NodePath("../../../../look_at_root") [node name="bone_attachment_3d" type="BoneAttachment3D" parent="." unique_id=1964353847] transform = Transform3D(-31.74573, 3.559949, -94.760414, -86.96872, 38.738197, 30.590748, 37.797493, 92.12316, -9.201678, -0.47878417, 3.3534346, 0.7443533) bone_name = "HAND.R_end" bone_idx = 17 use_external_skeleton = true external_skeleton = NodePath("../SoldierM/Soldier/Skeleton3D") [node name="hand" type="Node3D" parent="bone_attachment_3d" unique_id=171636900] transform = Transform3D(0.0039180024, -0.013382489, -0.0055279233, 0.00012702314, 0.005758277, -0.013850107, 0.014478719, 0.0035708423, 0.0016173583, 0.003051471, -0.0019010007, -0.002960747) [node name="Raygun" parent="bone_attachment_3d/hand" unique_id=1928455392 instance=ExtResource("3_jbny0")] [node name="animation_tree" type="AnimationTree" parent="." unique_id=1221968603] root_node = NodePath("../SoldierM") tree_root = SubResource("AnimationNodeBlendTree_kgpx5") anim_player = NodePath("../SoldierM/AnimationPlayer") parameters/Movement/blend_position = Vector2(0, 0) [node name="look_at_root" type="Node3D" parent="." unique_id=107308061] transform = Transform3D(1, 0, 0, 0, 1.0000001, 0, 0, 0, 1.0000001, 0, 3.7622375, 0) [node name="look_at" type="Node3D" parent="look_at_root" unique_id=1308525699] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2.698) [editable path="SoldierM"]