pull/27/head
Sascha 2025-06-03 09:37:50 +07:00
parent b95fb36bd3
commit 5953210d85
7 changed files with 194 additions and 172 deletions

@ -31701,7 +31701,7 @@ states/Jump_Start/position = Vector2(658, 283)
transitions = ["Start", "IWR", SubResource("AnimationNodeStateMachineTransition_l0xk8"), "IWR", "Death_A", SubResource("AnimationNodeStateMachineTransition_0pn5a"), "IWR", "Interact", SubResource("AnimationNodeStateMachineTransition_ddrtj"), "Interact", "IWR", SubResource("AnimationNodeStateMachineTransition_vokpi"), "IWR", "1h_slice_diagonal", SubResource("AnimationNodeStateMachineTransition_w32h3"), "1h_slice_diagonal", "IWR", SubResource("AnimationNodeStateMachineTransition_x8rkg"), "IWR", "1h_attack_chop", SubResource("AnimationNodeStateMachineTransition_ai0h0"), "1h_attack_chop", "IWR", SubResource("AnimationNodeStateMachineTransition_flmvj"), "IWR", "1h_slice_horizontal", SubResource("AnimationNodeStateMachineTransition_hnfj8"), "1h_slice_horizontal", "IWR", SubResource("AnimationNodeStateMachineTransition_17t07"), "IWR", "Jump_Start", SubResource("AnimationNodeStateMachineTransition_4j7ud"), "Jump_Start", "Jump_Idle", SubResource("AnimationNodeStateMachineTransition_mgjn7"), "Jump_Idle", "Jump_Land", SubResource("AnimationNodeStateMachineTransition_eh75m"), "Jump_Land", "IWR", SubResource("AnimationNodeStateMachineTransition_qllfg"), "IWR", "Jump_Idle", SubResource("AnimationNodeStateMachineTransition_vq1x0"), "IWR", "Blocking", SubResource("AnimationNodeStateMachineTransition_pnrta"), "Blocking", "IWR", SubResource("AnimationNodeStateMachineTransition_hku22"), "Blocking", "Block_Hit", SubResource("AnimationNodeStateMachineTransition_ghj3a"), "Block_Hit", "Blocking", SubResource("AnimationNodeStateMachineTransition_os6oe"), "Blocking", "Block_Attack", SubResource("AnimationNodeStateMachineTransition_dips5"), "Block_Attack", "Blocking", SubResource("AnimationNodeStateMachineTransition_ar41x"), "Block_Attack", "IWR", SubResource("AnimationNodeStateMachineTransition_sxuk5"), "IWR", "Hit_A", SubResource("AnimationNodeStateMachineTransition_skg6m"), "Hit_A", "IWR", SubResource("AnimationNodeStateMachineTransition_sufwf"), "IWR", "Hit_B", SubResource("AnimationNodeStateMachineTransition_5gf1y"), "Hit_B", "IWR", SubResource("AnimationNodeStateMachineTransition_gjm3q"), "IWR", "Death_B", SubResource("AnimationNodeStateMachineTransition_vc3og")]
graph_offset = Vector2(-318, -48.186)
[node name="Knight" type="CharacterBody3D" node_paths=PackedStringArray("model")]
[node name="Knight" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["player"]]
transform = Transform3D(0.8, 0, 0, 0, 0.8, 0, 0, 0, 0.8, 0, 0, 0)
collision_layer = 4
script = ExtResource("2_51yjr")
@ -31727,43 +31727,43 @@ bones/0/name = "root"
bones/0/parent = -1
bones/0/rest = Transform3D(1, 0, 2.38419e-07, 0, 1, 0, -2.38419e-07, 0, 1, 0, 0, 0)
bones/0/enabled = true
bones/0/position = Vector3(0, 0.000123657, 0)
bones/0/rotation = Quaternion(-2.19737e-11, -0.000638415, -3.80596e-11, 1)
bones/0/position = Vector3(0, 0.00040183633, 0)
bones/0/rotation = Quaternion(-2.1973744e-11, -0.000638415, -3.8059562e-11, 0.9999998)
bones/0/scale = Vector3(1, 1, 1)
bones/1/name = "hips"
bones/1/parent = 0
bones/1/rest = Transform3D(1, 0, -2.38419e-07, 0, 1, 0, 2.38419e-07, 0, 1, 0, 0.405663, 0)
bones/1/enabled = true
bones/1/position = Vector3(2.68309e-19, 0.386498, 1.62967e-18)
bones/1/rotation = Quaternion(0.00215715, 0.042224, -6.19093e-06, 0.999106)
bones/1/position = Vector3(9.918064e-19, 0.38871956, -9.918064e-19)
bones/1/rotation = Quaternion(0.0022207487, 0.04222425, -8.894023e-06, 0.99910575)
bones/1/scale = Vector3(1, 1, 1)
bones/2/name = "spine"
bones/2/parent = 1
bones/2/rest = Transform3D(1, 0, 1.42109e-14, 0, 1, 0, -1.42109e-14, 0, 1, 0, 0.191978, 0)
bones/2/enabled = true
bones/2/position = Vector3(0, 0.191978, 0)
bones/2/rotation = Quaternion(0.00250213, 0.000955872, -0.000125167, 0.999996)
bones/2/rotation = Quaternion(0.0024966595, 0.0016805134, -0.00018478409, 0.9999955)
bones/2/scale = Vector3(1, 1, 1)
bones/3/name = "chest"
bones/3/parent = 2
bones/3/rest = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.374988, 0)
bones/3/enabled = true
bones/3/position = Vector3(0, 0.374988, 0)
bones/3/rotation = Quaternion(0.000944069, 0.000201577, -2.86117e-05, 1)
bones/3/rotation = Quaternion(0.00093984784, 0.00021318761, 3.1108997e-05, 0.9999995)
bones/3/scale = Vector3(1, 1, 1)
bones/4/name = "upperarm.l"
bones/4/parent = 3
bones/4/rest = Transform3D(0.0572842, 0.998357, -3.57628e-07, -3.57628e-07, 4.76837e-07, 1, 0.998357, -0.0572841, 4.76837e-07, 0.212007, 0.134132, 8.40246e-08)
bones/4/enabled = true
bones/4/position = Vector3(0.211803, 0.133822, -0.00101669)
bones/4/rotation = Quaternion(-0.563863, -0.0624868, -0.637455, 0.521349)
bones/4/position = Vector3(0.21187462, 0.13385738, -0.0010360042)
bones/4/rotation = Quaternion(-0.5644904, -0.06334803, -0.6389355, 0.5187477)
bones/4/scale = Vector3(0.999999, 0.999999, 1)
bones/5/name = "lowerarm.l"
bones/5/parent = 4
bones/5/rest = Transform3D(0.993887, 0.110402, -1.19007e-07, -0.110402, 0.993887, 3.28831e-09, 1.18643e-07, 9.87045e-09, 1, -3.21966e-09, 0.241897, -1.19406e-07)
bones/5/enabled = true
bones/5/position = Vector3(-3.21966e-09, 0.241897, -1.19406e-07)
bones/5/rotation = Quaternion(2.44682e-08, -5.18015e-08, -0.503555, 0.863963)
bones/5/rotation = Quaternion(3.095372e-08, -5.572603e-08, -0.50042135, 0.865782)
bones/5/scale = Vector3(1, 1, 1)
bones/6/name = "wrist.l"
bones/6/parent = 5
@ -31777,14 +31777,14 @@ bones/7/parent = 6
bones/7/rest = Transform3D(1, 1.09104e-05, 2.66204e-07, -1.09104e-05, 1, -2.40181e-09, -2.66204e-07, 2.39891e-09, 1, 9.08162e-13, 0.0738258, 2.22045e-16)
bones/7/enabled = true
bones/7/position = Vector3(9.08162e-13, 0.0738258, 2.22045e-16)
bones/7/rotation = Quaternion(-0.314226, -0.331819, 0.141594, 0.878128)
bones/7/rotation = Quaternion(-0.31410387, -0.33045247, 0.1401385, 0.87892044)
bones/7/scale = Vector3(1, 1, 1)
bones/8/name = "handslot.l"
bones/8/parent = 7
bones/8/rest = Transform3D(-1.19209e-07, 1, -2.22045e-16, -1, -1.19209e-07, -4.55307e-09, -4.55307e-09, -2.22045e-16, 1, 8.34815e-10, 0.0961251, -0.0575001)
bones/8/enabled = true
bones/8/position = Vector3(-1.69576e-09, 0.0961252, -0.0575)
bones/8/rotation = Quaternion(-0.00106666, 0.00121506, -0.70288, 0.711306)
bones/8/position = Vector3(-1.695765e-09, 0.0961252, -0.0575)
bones/8/rotation = Quaternion(-0.0010936128, 0.0012028513, -0.7029459, 0.7112415)
bones/8/scale = Vector3(1, 1, 1)
bones/9/name = "1H_Sword_Offhand"
bones/9/parent = 8
@ -31825,15 +31825,15 @@ bones/14/name = "upperarm.r"
bones/14/parent = 3
bones/14/rest = Transform3D(0.0572841, -0.998357, 4.47035e-07, 5.06639e-07, 4.17232e-07, 1, -0.998357, -0.0572842, 4.76837e-07, -0.212007, 0.134132, 8.40246e-08)
bones/14/enabled = true
bones/14/position = Vector3(-0.211651, 0.133746, -0.000975643)
bones/14/rotation = Quaternion(-0.621151, 0.0807862, 0.611077, 0.483973)
bones/14/position = Vector3(-0.21157968, 0.13370973, -0.00095633074)
bones/14/rotation = Quaternion(-0.6220512, 0.08101336, 0.6112128, 0.48260567)
bones/14/scale = Vector3(0.999999, 0.999999, 1)
bones/15/name = "lowerarm.r"
bones/15/parent = 14
bones/15/rest = Transform3D(0.993887, -0.110402, 1.19007e-07, 0.110402, 0.993887, 3.28831e-09, -1.18643e-07, 9.87045e-09, 1, -7.12186e-11, 0.241897, -1.19406e-07)
bones/15/enabled = true
bones/15/position = Vector3(-7.12186e-11, 0.241897, -1.19406e-07)
bones/15/rotation = Quaternion(2.78438e-08, 5.34132e-08, 0.526087, 0.850431)
bones/15/rotation = Quaternion(2.3551108e-08, 4.9723518e-08, 0.52264106, 0.85255283)
bones/15/scale = Vector3(1, 1, 1)
bones/16/name = "wrist.r"
bones/16/parent = 15
@ -31847,14 +31847,14 @@ bones/17/parent = 16
bones/17/rest = Transform3D(1, -1.09104e-05, -1.78637e-07, 1.09104e-05, 1, -2.40084e-09, 1.78637e-07, 2.39889e-09, 1, 1.33227e-15, 0.0738258, 2.22045e-16)
bones/17/enabled = true
bones/17/position = Vector3(1.33227e-15, 0.0738258, 2.22045e-16)
bones/17/rotation = Quaternion(-0.312341, 0.308547, -0.221425, 0.870754)
bones/17/rotation = Quaternion(-0.31253678, 0.3076222, -0.21926919, 0.8715563)
bones/17/scale = Vector3(1, 1, 1)
bones/18/name = "handslot.r"
bones/18/parent = 17
bones/18/rest = Transform3D(-1.19209e-07, -1, 2.22045e-16, 1, -1.19209e-07, -4.55301e-09, 4.55301e-09, -2.22045e-16, 1, -8.34815e-10, 0.0961251, -0.0575001)
bones/18/enabled = true
bones/18/position = Vector3(-1.41816e-08, 0.0961251, -0.0575)
bones/18/rotation = Quaternion(-0.000651902, -0.000578336, 0.703167, 0.711025)
bones/18/position = Vector3(-1.4181621e-08, 0.0961251, -0.0575)
bones/18/rotation = Quaternion(-0.00069719134, -0.0006227261, 0.7032163, 0.7109754)
bones/18/scale = Vector3(1, 1, 1)
bones/19/name = "1H_Sword"
bones/19/parent = 18
@ -31875,7 +31875,7 @@ bones/21/parent = 3
bones/21/rest = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.268797, 0)
bones/21/enabled = true
bones/21/position = Vector3(0, 0.268797, 0)
bones/21/rotation = Quaternion(-0.00286187, -0.0308541, -0.000156922, 0.99952)
bones/21/rotation = Quaternion(-0.002857107, -0.03250704, -5.586077e-05, 0.9994675)
bones/21/scale = Vector3(1, 1, 1)
bones/22/name = "Knight_Helmet"
bones/22/parent = 21
@ -31895,91 +31895,91 @@ bones/24/name = "upperleg.l"
bones/24/parent = 1
bones/24/rest = Transform3D(1, -1.42215e-07, -2.65602e-08, -1.43052e-07, -0.999396, -0.0347412, -2.16035e-08, 0.0347411, -0.999398, 0.170945, 0.113587, 1.39233e-08)
bones/24/enabled = true
bones/24/position = Vector3(0.170945, 0.113587, -0.000646349)
bones/24/rotation = Quaternion(0.993309, 0.0811681, 0.0737367, 0.036228)
bones/24/position = Vector3(0.170945, 0.113587, 0.0020333922)
bones/24/rotation = Quaternion(0.99301195, 0.08042358, 0.07437139, 0.043912955)
bones/24/scale = Vector3(1, 1, 1)
bones/25/name = "lowerleg.l"
bones/25/parent = 24
bones/25/rest = Transform3D(1, 1.6129e-07, 1.20856e-07, -1.3212e-07, 0.977433, -0.211248, -1.52201e-07, 0.211248, 0.977433, 3.57982e-09, 0.227077, -6.13986e-09)
bones/25/enabled = true
bones/25/position = Vector3(3.57982e-09, 0.227077, -6.13986e-09)
bones/25/rotation = Quaternion(0.257285, 6.4516e-08, -1.79517e-07, 0.966336)
bones/25/rotation = Quaternion(0.25488424, 6.380232e-08, -1.7808895e-07, 0.9669716)
bones/25/scale = Vector3(1, 1, 1)
bones/26/name = "foot.l"
bones/26/parent = 25
bones/26/rest = Transform3D(1, 4.64335e-08, 6.01239e-08, -7.59277e-08, 0.585515, 0.810661, 2.4383e-09, -0.810662, 0.585514, 1.83222e-10, 0.149437, 9.66537e-10)
bones/26/enabled = true
bones/26/position = Vector3(1.83222e-10, 0.149437, 9.66537e-10)
bones/26/rotation = Quaternion(-0.549482, -0.203291, 0.0510789, 0.808785)
bones/26/rotation = Quaternion(-0.54578155, -0.20358205, 0.04984539, 0.8112905)
bones/26/scale = Vector3(1, 1, 0.999999)
bones/27/name = "toes.l"
bones/27/parent = 26
bones/27/rest = Transform3D(-1, -1.75424e-09, 1.51741e-07, -1.10452e-07, 0.694106, -0.719873, -1.04062e-07, -0.719873, -0.694106, -2.1306e-10, 0.16565, 5.17174e-09)
bones/27/enabled = true
bones/27/position = Vector3(-2.1306e-10, 0.16565, 5.17174e-09)
bones/27/rotation = Quaternion(-9.58237e-09, 0.91954, -0.392996, 7.80262e-08)
bones/27/rotation = Quaternion(-1.0200191e-08, 0.9203551, -0.39108407, 7.8109345e-08)
bones/27/scale = Vector3(1, 1, 1)
bones/28/name = "upperleg.r"
bones/28/parent = 1
bones/28/rest = Transform3D(1, 1.49611e-07, -6.08626e-08, 1.47406e-07, -0.999396, -0.0347412, -6.60234e-08, 0.0347411, -0.999398, -0.170945, 0.113587, 1.39233e-08)
bones/28/enabled = true
bones/28/position = Vector3(-0.170945, 0.113587, 0.00064638)
bones/28/rotation = Quaternion(0.995577, -0.0300309, 0.0301361, 0.083762)
bones/28/position = Vector3(-0.170945, 0.113587, -0.0020333591)
bones/28/rotation = Quaternion(0.9963032, -0.02971043, 0.03041421, 0.07464874)
bones/28/scale = Vector3(1, 1, 1)
bones/29/name = "lowerleg.r"
bones/29/parent = 28
bones/29/rest = Transform3D(1, -1.6129e-07, -1.20856e-07, 1.3212e-07, 0.977433, -0.211248, 1.52201e-07, 0.211248, 0.977433, -3.57982e-09, 0.227077, -6.13986e-09)
bones/29/enabled = true
bones/29/position = Vector3(-3.57982e-09, 0.227077, -6.13986e-09)
bones/29/rotation = Quaternion(0.337932, -6.25924e-08, 2.35043e-07, 0.941171)
bones/29/rotation = Quaternion(0.3230715, -6.33237e-08, 2.2465625e-07, 0.94637454)
bones/29/scale = Vector3(1, 1, 1)
bones/30/name = "foot.r"
bones/30/parent = 29
bones/30/rest = Transform3D(1, -1.55132e-07, 2.93521e-07, -1.47115e-07, 0.585515, 0.810661, -2.97621e-07, -0.810662, 0.585514, -1.83221e-10, 0.149437, 9.66542e-10)
bones/30/enabled = true
bones/30/position = Vector3(-1.83221e-10, 0.149437, 9.66542e-10)
bones/30/rotation = Quaternion(-0.584054, 0.111824, -0.0116822, 0.80389)
bones/30/rotation = Quaternion(-0.5745527, 0.11176443, -0.012050711, 0.8107113)
bones/30/scale = Vector3(1, 1, 0.999999)
bones/31/name = "toes.r"
bones/31/parent = 30
bones/31/rest = Transform3D(-1, 1.75425e-09, -1.51741e-07, 1.10452e-07, 0.694106, -0.719873, 1.04062e-07, -0.719873, -0.694106, 2.13058e-10, 0.16565, 5.17174e-09)
bones/31/enabled = true
bones/31/position = Vector3(2.13058e-10, 0.16565, 5.17174e-09)
bones/31/rotation = Quaternion(3.03641e-08, 0.920355, -0.391084, -6.95422e-08)
bones/31/rotation = Quaternion(2.8993462e-08, 0.91903013, -0.3941874, -6.932726e-08)
bones/31/scale = Vector3(1, 1, 1)
bones/32/name = "kneeIK.l"
bones/32/parent = 0
bones/32/rest = Transform3D(1, -2.59151e-07, -3.89414e-07, -3.89414e-07, 0, -1, 2.59151e-07, 1, 0, 0.170945, 0.29231, 0.575812)
bones/32/enabled = true
bones/32/position = Vector3(0.170945, 0.294216, 0.577718)
bones/32/rotation = Quaternion(0.707107, -2.29302e-07, -4.60552e-08, 0.707107)
bones/32/position = Vector3(0.170945, 0.2936124, 0.57711434)
bones/32/rotation = Quaternion(0.7071068, -2.2930195e-07, -4.605519e-08, 0.7071068)
bones/32/scale = Vector3(1, 1, 1)
bones/33/name = "control-toe-roll.l"
bones/33/parent = 0
bones/33/rest = Transform3D(1, 1.99485e-07, -3.55271e-14, 3.55271e-14, 0, 1, 1.99485e-07, -1, 0, 0.170945, 0.0259903, 0.245789)
bones/33/enabled = true
bones/33/position = Vector3(0.2015, 0.0250808, 0.204459)
bones/33/rotation = Quaternion(-0.705987, -7.06383e-08, -7.04162e-08, 0.708225)
bones/33/position = Vector3(0.20149983, 0.03093037, 0.21333832)
bones/33/rotation = Quaternion(-0.7099034, -7.0064424e-08, -7.093244e-08, 0.7042991)
bones/33/scale = Vector3(1, 1, 1)
bones/34/name = "control-heel-roll.l"
bones/34/parent = 33
bones/34/rest = Transform3D(-1, 4.66e-34, 1.42109e-14, -4.69932e-34, -1, -2.76642e-22, 1.42109e-14, -2.76642e-22, 1, 1.94581e-08, 0.362833, -2.42861e-15)
bones/34/enabled = true
bones/34/position = Vector3(1.94399e-08, 0.362833, -2.42861e-15)
bones/34/rotation = Quaternion(9.46309e-09, 1.72498e-09, 0.986335, -0.164755)
bones/34/position = Vector3(1.9439927e-08, 0.362833, -2.42861e-15)
bones/34/rotation = Quaternion(9.463089e-09, 1.7249834e-09, 0.9863347, -0.16475454)
bones/34/scale = Vector3(1, 1, 1)
bones/35/name = "control-foot-roll.l"
bones/35/parent = 34
bones/35/rest = Transform3D(-1, -2.70243e-08, -2.14593e-07, -1.35722e-07, -0.694106, 0.719873, -1.68404e-07, 0.719873, 0.694106, -1.11482e-08, 0.213436, -2.50942e-15)
bones/35/enabled = true
bones/35/position = Vector3(-2.54349e-08, 0.213436, -5.05856e-09)
bones/35/rotation = Quaternion(-1.01331e-07, 0.391084, 0.920355, -3.34308e-08)
bones/35/position = Vector3(-2.5434916e-08, 0.213436, -5.0585642e-09)
bones/35/rotation = Quaternion(-1.01330535e-07, 0.39108407, 0.9203551, -3.3430762e-08)
bones/35/scale = Vector3(1, 1, 1)
bones/36/name = "heelIK.l"
bones/36/parent = 35
bones/36/rest = Transform3D(1, 1.74656e-07, -7.54001e-08, -6.69512e-08, 0.694106, 0.719873, 1.78066e-07, -0.719873, 0.694106, 8.58988e-09, 0.16565, -5.09137e-09)
bones/36/enabled = true
bones/36/position = Vector3(8.30081e-09, 0.16565, -2.46819e-09)
bones/36/position = Vector3(8.300811e-09, 0.16565, -2.4681943e-09)
bones/36/rotation = Quaternion(-0.391084, -6.885e-08, -6.56288e-08, 0.920355)
bones/36/scale = Vector3(1, 1, 1)
bones/37/name = "IK-foot.l"
@ -31987,7 +31987,7 @@ bones/37/parent = 35
bones/37/rest = Transform3D(1, -6.21725e-15, 3.89414e-07, -6.21725e-15, -1, 1.72934e-22, 3.89414e-07, -2.59402e-21, -1, 8.58988e-09, 0.16565, -5.09137e-09)
bones/37/enabled = true
bones/37/position = Vector3(8.58988e-09, 0.16565, -5.09137e-09)
bones/37/rotation = Quaternion(1, -2.26231e-09, 1.99667e-07, 2.27021e-12)
bones/37/rotation = Quaternion(1, -2.2623083e-09, 1.996666e-07, 2.2702077e-12)
bones/37/scale = Vector3(1, 1, 1)
bones/38/name = "IK-toe.l"
bones/38/parent = 34
@ -32000,35 +32000,35 @@ bones/39/name = "kneeIK.r"
bones/39/parent = 0
bones/39/rest = Transform3D(1, -2.59151e-07, 1.50996e-07, 1.50996e-07, 0, -1, 2.59151e-07, 1, 0, -0.170945, 0.29231, 0.575812)
bones/39/enabled = true
bones/39/position = Vector3(-0.170945, 0.294216, 0.577718)
bones/39/rotation = Quaternion(0.707107, -3.82385e-08, 1.45009e-07, 0.707107)
bones/39/position = Vector3(-0.170945, 0.2936124, 0.57711434)
bones/39/rotation = Quaternion(0.7071068, -3.823849e-08, 1.4500897e-07, 0.7071068)
bones/39/scale = Vector3(1, 1, 1)
bones/40/name = "control-toe-roll.r"
bones/40/parent = 0
bones/40/rest = Transform3D(1, 1.99485e-07, 0, 0, 0, 1, 1.99485e-07, -1, 0, -0.170945, 0.0259903, 0.245789)
bones/40/enabled = true
bones/40/position = Vector3(-0.170945, 0.0264082, 0.240468)
bones/40/rotation = Quaternion(-0.697243, -7.16472e-08, -6.93871e-08, 0.716835)
bones/40/position = Vector3(-0.170945, 0.027720142, 0.23198222)
bones/40/rotation = Quaternion(-0.6934508, -7.194179e-08, -6.909922e-08, 0.720504)
bones/40/scale = Vector3(1, 1, 1)
bones/41/name = "control-heel-roll.r"
bones/41/parent = 40
bones/41/rest = Transform3D(-1, 4.66e-34, 1.42109e-14, -4.69932e-34, -1, -2.76642e-22, 1.42109e-14, -2.76642e-22, 1, 1.94581e-08, 0.362833, 2.42861e-15)
bones/41/enabled = true
bones/41/position = Vector3(1.95126e-08, 0.362833, 1.22897e-09)
bones/41/rotation = Quaternion(-5.71925e-09, 6.30862e-10, 0.995033, 0.0995413)
bones/41/position = Vector3(1.9512616e-08, 0.362833, 1.2289658e-09)
bones/41/rotation = Quaternion(-5.719253e-09, 6.308624e-10, 0.99503344, 0.09954133)
bones/41/scale = Vector3(1, 1, 1)
bones/42/name = "control-foot-roll.r"
bones/42/parent = 41
bones/42/rest = Transform3D(-1, -2.70242e-08, -2.14593e-07, -1.35722e-07, -0.694106, 0.719873, -1.68404e-07, 0.719873, 0.694106, 3.75294e-09, 0.213436, 0)
bones/42/enabled = true
bones/42/position = Vector3(-1.08228e-08, 0.213436, 4.6851e-10)
bones/42/rotation = Quaternion(-1.05753e-07, 0.391084, 0.920355, -2.59542e-08)
bones/42/position = Vector3(-1.0822787e-08, 0.213436, 4.6851023e-10)
bones/42/rotation = Quaternion(-1.0575331e-07, 0.39108407, 0.9203551, -2.5954193e-08)
bones/42/scale = Vector3(1, 1, 1)
bones/43/name = "heelIK.r"
bones/43/parent = 42
bones/43/rest = Transform3D(1, 1.74656e-07, -7.54001e-08, -6.69511e-08, 0.694106, 0.719873, 1.78066e-07, -0.719873, 0.694106, -6.31128e-09, 0.16565, 1.36608e-09)
bones/43/enabled = true
bones/43/position = Vector3(-6.29311e-09, 0.16565, 3.15833e-09)
bones/43/position = Vector3(-6.293108e-09, 0.16565, 3.158326e-09)
bones/43/rotation = Quaternion(-0.391084, -6.885e-08, -6.56287e-08, 0.920355)
bones/43/scale = Vector3(1, 1, 1)
bones/44/name = "IK-foot.r"
@ -32036,7 +32036,7 @@ bones/44/parent = 42
bones/44/rest = Transform3D(1, 8.88173e-16, 3.89414e-07, 8.88173e-16, -1, -1.21054e-21, 3.89414e-07, 1.55641e-21, -1, -2.12124e-08, 0.16565, 1.36608e-09)
bones/44/enabled = true
bones/44/position = Vector3(-2.12124e-08, 0.16565, 1.36608e-09)
bones/44/rotation = Quaternion(1, 3.70385e-09, 1.94882e-07, 7.27879e-09)
bones/44/rotation = Quaternion(1, 3.7038494e-09, 1.9488192e-07, 7.2787874e-09)
bones/44/scale = Vector3(1, 1, 1)
bones/45/name = "IK-toe.r"
bones/45/parent = 41
@ -32049,33 +32049,33 @@ bones/46/name = "elbowIK.l"
bones/46/parent = 0
bones/46/rest = Transform3D(1, 2.05896e-07, -3.55271e-14, 3.55271e-14, 0, 1, 2.05896e-07, -1, 0, 0.453507, 1.10676, -0.588859)
bones/46/enabled = true
bones/46/position = Vector3(0.453208, 1.10239, -0.591169)
bones/46/rotation = Quaternion(-0.707107, 0.000150431, 0.000150431, 0.707107)
bones/46/position = Vector3(0.4532078, 1.1023924, -0.5911695)
bones/46/rotation = Quaternion(-0.7071068, 0.00015043146, 0.00015043146, 0.7071068)
bones/46/scale = Vector3(1, 1, 1)
bones/47/name = "handIK.l"
bones/47/parent = 0
bones/47/rest = Transform3D(-2.38419e-07, 1, 0, 0, 0, 1, 1, 2.38419e-07, 0, 0.713181, 1.10676, 2.54914e-07)
bones/47/enabled = true
bones/47/position = Vector3(0.520677, 0.785758, -0.0529635)
bones/47/rotation = Quaternion(0.799788, 0.01116, 0.600176, 0.00177192)
bones/47/position = Vector3(0.52067727, 0.7865753, -0.053276174)
bones/47/rotation = Quaternion(0.7995263, 0.0108261295, 0.6005314, 0.0016807595)
bones/47/scale = Vector3(1, 1, 1)
bones/48/name = "elbowIK.r"
bones/48/parent = 0
bones/48/rest = Transform3D(1, 2.05896e-07, -3.55271e-14, 3.55271e-14, 0, 1, 2.05896e-07, -1, 0, -0.453507, 1.10676, -0.58886)
bones/48/enabled = true
bones/48/position = Vector3(-0.454281, 1.10215, -0.590163)
bones/48/rotation = Quaternion(-0.707107, 0.000150431, 0.000150431, 0.707107)
bones/48/position = Vector3(-0.4542807, 1.1021485, -0.5901631)
bones/48/rotation = Quaternion(-0.7071068, 0.00015043146, 0.00015043146, 0.7071068)
bones/48/scale = Vector3(1, 1, 1)
bones/49/name = "handIK.r"
bones/49/parent = 0
bones/49/rest = Transform3D(1.19209e-07, -1, -1.19209e-07, 0, -1.19209e-07, 1, -1, -1.19209e-07, 0, -0.713182, 1.10676, -8.51573e-08)
bones/49/enabled = true
bones/49/position = Vector3(-0.51074, 0.785758, 0.0625311)
bones/49/rotation = Quaternion(0.764274, -0.0105255, -0.644802, 0.0021715)
bones/49/position = Vector3(-0.5107404, 0.7865753, 0.062218484)
bones/49/rotation = Quaternion(0.7639927, -0.010196804, -0.64514095, 0.002062005)
bones/49/scale = Vector3(1, 1, 1)
[node name="1H_Sword_Offhand" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.0144465, 0.266556, 0.963711, 0.999873, 0.0101852, 0.0121724, -0.00657068, 0.963765, -0.266669, 0.5152, 0.635293, 0.00402972)
transform = Transform3D(-0.013813024, 0.26693127, 0.963616, 0.9998691, 0.011735006, 0.01108293, -0.008349343, 0.9636434, -0.26705799, 0.5151154, 0.63638216, 0.0037034322)
visible = false
bone_name = "1H_Sword_Offhand"
bone_idx = 9
@ -32085,7 +32085,7 @@ mesh = SubResource("ArrayMesh_rvosg")
skeleton = NodePath("")
[node name="Badge_Shield" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.0144465, 0.266556, 0.963711, 0.999873, 0.0101827, 0.012173, -0.00656806, 0.963765, -0.266669, 0.665428, 0.63719, -0.03754)
transform = Transform3D(-0.013812991, 0.2669311, 0.9636161, 0.99986917, 0.011732469, 0.011083599, -0.0083467215, 0.96364343, -0.26705778, 0.6653286, 0.6381099, -0.037926897)
visible = false
bone_name = "Badge_Shield"
bone_idx = 10
@ -32095,7 +32095,7 @@ mesh = SubResource("ArrayMesh_0xags")
skeleton = NodePath("")
[node name="Rectangle_Shield" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.0144465, 0.266556, 0.963711, 0.999873, 0.0101827, 0.012173, -0.00656806, 0.963765, -0.266669, 0.665428, 0.63719, -0.03754)
transform = Transform3D(-0.013812991, 0.2669311, 0.9636161, 0.99986917, 0.011732469, 0.011083599, -0.0083467215, 0.96364343, -0.26705778, 0.6653286, 0.6381099, -0.037926897)
visible = false
bone_name = "Rectangle_Shield"
bone_idx = 11
@ -32105,7 +32105,7 @@ mesh = SubResource("ArrayMesh_qr44s")
skeleton = NodePath("")
[node name="Round_Shield" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.0144465, 0.266556, 0.963711, 0.999873, 0.0101827, 0.012173, -0.00656806, 0.963765, -0.266669, 0.665428, 0.63719, -0.03754)
transform = Transform3D(-0.013812991, 0.2669311, 0.9636161, 0.99986917, 0.011732469, 0.011083599, -0.0083467215, 0.96364343, -0.26705778, 0.6653286, 0.6381099, -0.037926897)
bone_name = "Round_Shield"
bone_idx = 12
@ -32114,7 +32114,7 @@ mesh = SubResource("ArrayMesh_bb24p")
skeleton = NodePath("")
[node name="Spike_Shield" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.0144465, 0.266556, 0.963711, 0.999873, 0.0101827, 0.012173, -0.00656806, 0.963765, -0.266669, 0.665428, 0.63719, -0.03754)
transform = Transform3D(-0.013812991, 0.2669311, 0.9636161, 0.99986917, 0.011732469, 0.011083599, -0.0083467215, 0.96364343, -0.26705778, 0.6653286, 0.6381099, -0.037926897)
bone_name = "Spike_Shield"
bone_idx = 13
@ -32123,7 +32123,7 @@ mesh = SubResource("ArrayMesh_jnwr3")
skeleton = NodePath("")
[node name="1H_Sword" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.0153479, -0.160937, 0.986845, 0.999847, 0.0107053, -0.0138054, -0.00834226, 0.986906, 0.161076, -0.499743, 0.639986, 0.14269)
transform = Transform3D(0.015621854, -0.16187112, 0.9866878, 0.999836, 0.011524438, -0.013940318, -0.009114035, 0.98674375, 0.16202432, -0.5004664, 0.641405, 0.1423082)
bone_name = "1H_Sword"
bone_idx = 19
@ -32142,7 +32142,7 @@ shape = SubResource("CapsuleShape3D_nge0l")
disabled = true
[node name="2H_Sword" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.0153479, -0.160937, 0.986845, 0.999847, 0.0107053, -0.0138054, -0.00834225, 0.986906, 0.161076, -0.499743, 0.639986, 0.14269)
transform = Transform3D(0.015621838, -0.16187112, 0.9866878, 0.999836, 0.011524423, -0.013940304, -0.009114022, 0.98674375, 0.16202432, -0.5004664, 0.641405, 0.1423082)
bone_name = "2H_Sword"
bone_idx = 20
@ -32151,7 +32151,7 @@ mesh = SubResource("ArrayMesh_ys2n7")
skeleton = NodePath("")
[node name="Knight_Helmet" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.999716, 0.00107771, 0.0237924, -0.000948445, 0.999985, -0.00544382, -0.0237979, 0.00541971, 0.999702, 0.00062089, 1.19682, 0.00716476)
transform = Transform3D(0.9997584, 0.0008925565, 0.021957189, -0.00077052636, 0.9999842, -0.0055654864, -0.021961778, 0.0055472213, 0.9997434, 0.00068124675, 1.1993147, 0.007254126)
bone_name = "Knight_Helmet"
bone_idx = 22
@ -32170,7 +32170,7 @@ transform = Transform3D(-0.999711, 2.27778e-05, 0.024046, 5.34939e-07, 1, -0.000
shape = SubResource("CapsuleShape3D_i3cyd")
[node name="Knight_Cape" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.996346, 0.00107699, 0.0854024, -0.000120592, 0.999937, -0.0112031, -0.0854091, 0.0111519, 0.996284, 0.000620421, 1.19682, 0.00701836)
transform = Transform3D(0.99621904, 0.001092095, 0.086869396, -0.00010984797, 0.99993604, -0.01131115, -0.08687617, 0.01125884, 0.9961555, 0.0006756643, 1.1993153, 0.007108255)
visible = false
bone_name = "Knight_Cape"
bone_idx = 23

@ -13,7 +13,7 @@
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_haxcf"]
radius = 0.631256
height = 2.6
height = 2.3236573
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1ddoj"]
resource_name = "skeleton"
@ -372,8 +372,8 @@ _surfaces = [{
blend_shape_mode = 0
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_c30pj"]
radius = 1.0427
height = 3.02391
radius = 0.9057617
height = 2.5086632
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wwi0t"]
radius = 0.169298
@ -473,6 +473,7 @@ blend_point_3/node = SubResource("AnimationNodeAnimation_oaktn")
blend_point_3/pos = Vector2(1, 0)
blend_point_4/node = SubResource("AnimationNodeAnimation_kn688")
blend_point_4/pos = Vector2(-1, 0)
snap = Vector2(0.01, 0.01)
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_e21om"]
animation = &"Skeleton/Unarmed_Melee_Attack_Kick"
@ -539,7 +540,7 @@ states/Unarmed_Melee_Attack_Punch_A/position = Vector2(418, -115.186)
states/Unarmed_Melee_Attack_Punch_B/node = SubResource("AnimationNodeAnimation_u8v08")
states/Unarmed_Melee_Attack_Punch_B/position = Vector2(865, -115.186)
transitions = ["IWR", "Death_A", SubResource("AnimationNodeStateMachineTransition_0pn5a"), "Unarmed_Melee_Attack_Punch_A", "IWR", SubResource("AnimationNodeStateMachineTransition_yp0xf"), "IWR", "Unarmed_Melee_Attack_Punch_A", SubResource("AnimationNodeStateMachineTransition_ykhdv"), "IWR", "Unarmed_Melee_Attack_Punch_B", SubResource("AnimationNodeStateMachineTransition_138r8"), "Unarmed_Melee_Attack_Punch_B", "IWR", SubResource("AnimationNodeStateMachineTransition_8a1wb"), "Start", "IWR", SubResource("AnimationNodeStateMachineTransition_hnd51"), "IWR", "Hit_A", SubResource("AnimationNodeStateMachineTransition_ibwmu"), "Hit_A", "IWR", SubResource("AnimationNodeStateMachineTransition_fbopi"), "IWR", "Hit_B", SubResource("AnimationNodeStateMachineTransition_0miw0"), "Hit_B", "IWR", SubResource("AnimationNodeStateMachineTransition_6qnll"), "IWR", "Death_B", SubResource("AnimationNodeStateMachineTransition_bfkmj"), "IWR", "Unarmed_Melee_Attack_Kick", SubResource("AnimationNodeStateMachineTransition_utqxs"), "Unarmed_Melee_Attack_Kick", "IWR", SubResource("AnimationNodeStateMachineTransition_rlltw")]
graph_offset = Vector2(-348, -190.186)
graph_offset = Vector2(-312, -74.186005)
[sub_resource type="ViewportTexture" id="ViewportTexture_1vx5n"]
viewport_path = NodePath("sprite_enemy_overlay/EnemyOverlay")
@ -551,7 +552,7 @@ model = NodePath("Rig")
unit_name = "Skeleton Warrior"
[node name="Navigation_CollisionShape" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.16964, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1667712, 0)
shape = SubResource("CapsuleShape3D_haxcf")
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
@ -566,106 +567,106 @@ bones/0/name = "root"
bones/0/parent = -1
bones/0/rest = Transform3D(1, 2.0611e-15, 2.40863e-07, -6.18329e-15, 1, 1.71143e-08, -2.40863e-07, -1.71143e-08, 1, 0, 0, 0)
bones/0/enabled = true
bones/0/position = Vector3(0, 0, 0)
bones/0/rotation = Quaternion(-8.56157e-09, 0.000899249, 9.28224e-11, 1)
bones/0/position = Vector3(-2.3778597e-25, 0.001114621, -3.8151773e-11)
bones/0/rotation = Quaternion(-8.560085e-09, -0.0005982796, -2.7392871e-11, 0.9999998)
bones/0/scale = Vector3(1, 1, 1)
bones/1/name = "hips"
bones/1/parent = 0
bones/1/rest = Transform3D(1, -1.92983e-22, -2.06635e-07, 9.18536e-22, 1, 3.51128e-15, 2.06635e-07, -3.51128e-15, 1, -2.1013e-22, 0.405663, 8.88178e-16)
bones/1/enabled = true
bones/1/position = Vector3(9.02568e-19, 0.380428, 1.246e-15)
bones/1/rotation = Quaternion(0.000160752, 0.0428804, -0.000126518, 0.99908)
bones/1/position = Vector3(1.3016696e-18, 0.37066194, 1.6717681e-15)
bones/1/rotation = Quaternion(0.002822056, 0.041924547, -3.877896e-05, 0.99911684)
bones/1/scale = Vector3(1, 1, 1)
bones/2/name = "spine"
bones/2/parent = 1
bones/2/rest = Transform3D(1, 8.67181e-22, 3.55271e-15, -8.67181e-22, 1, 3.52176e-23, -3.55271e-15, -3.52176e-23, 1, -4.36903e-23, 0.191978, -8.88178e-16)
bones/2/enabled = true
bones/2/position = Vector3(-2.87869e-11, 0.191978, 1.59921e-11)
bones/2/rotation = Quaternion(0.000197511, 0.00110711, 0.00014997, 0.999999)
bones/2/position = Vector3(1.3038567e-11, 0.19197796, -6.120775e-12)
bones/2/rotation = Quaternion(0.0032712999, -0.0031695243, 0.00020154331, 0.9999896)
bones/2/scale = Vector3(1, 1, 1)
bones/3/name = "chest"
bones/3/parent = 2
bones/3/rest = Transform3D(1, -2.05374e-22, -1.77636e-14, 2.05374e-22, 1, -1.11653e-14, 1.77636e-14, 1.11653e-14, 1, -9.6328e-23, 0.374988, 1.77636e-15)
bones/3/enabled = true
bones/3/position = Vector3(1.62753e-11, 0.374988, 6.01646e-11)
bones/3/rotation = Quaternion(0.000101837, -0.000263681, 0.000335213, 1)
bones/3/position = Vector3(-1.9523272e-11, 0.374988, 5.5286625e-10)
bones/3/rotation = Quaternion(0.00122792, 0.00012129889, -0.0003745585, 0.9999992)
bones/3/scale = Vector3(1, 1, 1)
bones/4/name = "upperarm.l"
bones/4/parent = 3
bones/4/rest = Transform3D(0.0572952, 0.998357, 5.96046e-08, -2.98023e-07, -1.19209e-07, 1, 0.998357, -0.0572953, 2.38419e-07, 0.212007, 0.134132, 8.92131e-08)
bones/4/enabled = true
bones/4/position = Vector3(0.211995, 0.13411, -8.10094e-05)
bones/4/rotation = Quaternion(-0.556676, -0.0591771, -0.638633, 0.527975)
bones/4/position = Vector3(0.21131144, 0.1335093, -0.0012239526)
bones/4/rotation = Quaternion(-0.559902, -0.059130058, -0.63246393, 0.53198004)
bones/4/scale = Vector3(0.999999, 0.999999, 1)
bones/5/name = "lowerarm.l"
bones/5/parent = 4
bones/5/rest = Transform3D(0.993885, 0.110424, -1.77241e-07, -0.110424, 0.993885, -4.82524e-07, 1.22875e-07, 4.99145e-07, 1, -3.31295e-09, 0.241897, 4.4799e-09)
bones/5/enabled = true
bones/5/position = Vector3(4.29607e-08, 0.241897, -1.73309e-07)
bones/5/rotation = Quaternion(2.30859e-07, 4.18413e-08, -0.509485, 0.86048)
bones/5/position = Vector3(4.4364626e-08, 0.241897, -1.6717202e-07)
bones/5/rotation = Quaternion(2.5160497e-07, 5.4571103e-08, -0.5082276, 0.86122286)
bones/5/scale = Vector3(1, 1, 1)
bones/6/name = "wrist.l"
bones/6/parent = 5
bones/6/rest = Transform3D(0.998579, -0.0532972, -3.33198e-09, 0.0532972, 0.998579, 4.71248e-07, -2.1789e-08, -4.70756e-07, 1, 6.74525e-09, 0.260044, -2.16525e-07)
bones/6/enabled = true
bones/6/position = Vector3(1.45521e-08, 0.260044, -2.33806e-08)
bones/6/rotation = Quaternion(-2.2911e-07, 3.90582e-08, 0.0266581, 0.999645)
bones/6/position = Vector3(1.45291965e-08, 0.260044, -2.5488319e-08)
bones/6/rotation = Quaternion(-2.2943568e-07, 3.8257216e-08, 0.026658092, 0.9996447)
bones/6/scale = Vector3(1, 1, 1)
bones/7/name = "hand.l"
bones/7/parent = 6
bones/7/rest = Transform3D(1, 8.33334e-14, -2.83571e-14, -8.33334e-14, 1, -2.54025e-13, 2.83571e-14, 2.54025e-13, 1, -2.04281e-14, 0.0738259, -1.19209e-07)
bones/7/enabled = true
bones/7/position = Vector3(-7.41843e-09, 0.0738259, -1.10546e-08)
bones/7/rotation = Quaternion(-0.321566, -0.33251, 0.148126, 0.874123)
bones/7/position = Vector3(-6.9097834e-09, 0.0738259, -1.06491544e-08)
bones/7/rotation = Quaternion(-0.31273842, -0.3422267, 0.13472204, 0.87574285)
bones/7/scale = Vector3(1, 1, 1)
bones/8/name = "handslot.l"
bones/8/parent = 7
bones/8/rest = Transform3D(0, 1, -2.32809e-07, -1, 0, -6.82762e-08, -6.82761e-08, 2.32809e-07, 1, 8.34841e-10, 0.0961251, -0.0575)
bones/8/enabled = true
bones/8/position = Vector3(7.70746e-10, 0.0961252, -0.0575)
bones/8/rotation = Quaternion(0.000339265, 0.000511645, -0.705238, 0.708971)
bones/8/position = Vector3(-1.6242997e-09, 0.0961252, -0.057499997)
bones/8/rotation = Quaternion(-0.00039799922, 0.0026563527, -0.69791, 0.71618044)
bones/8/scale = Vector3(1, 1, 1)
bones/9/name = "upperarm.r"
bones/9/parent = 3
bones/9/rest = Transform3D(0.0572954, -0.998357, -1.49012e-07, 2.38419e-07, -1.19209e-07, 1, -0.998357, -0.0572954, 2.38419e-07, -0.212007, 0.134132, 7.46997e-08)
bones/9/enabled = true
bones/9/position = Vector3(-0.211975, 0.134099, -7.47756e-05)
bones/9/rotation = Quaternion(-0.615151, 0.0794888, 0.612668, 0.489805)
bones/9/position = Vector3(-0.21196528, 0.13383664, -0.0014005791)
bones/9/rotation = Quaternion(-0.6149239, 0.08178685, 0.6140226, 0.488012)
bones/9/scale = Vector3(0.999999, 0.999999, 1)
bones/10/name = "lowerarm.r"
bones/10/parent = 9
bones/10/rest = Transform3D(0.993885, -0.110424, 1.06327e-07, 0.110424, 0.993885, -4.82539e-07, -5.23934e-08, 4.91329e-07, 1, 4.03071e-09, 0.241897, 3.62012e-09)
bones/10/enabled = true
bones/10/position = Vector3(-4.05633e-08, 0.241897, -5.50091e-08)
bones/10/rotation = Quaternion(2.02868e-07, -8.66386e-08, 0.531842, 0.846844)
bones/10/position = Vector3(-3.8546226e-08, 0.241897, -4.936136e-08)
bones/10/rotation = Quaternion(2.3388114e-07, -8.904597e-08, 0.5327737, 0.84625775)
bones/10/scale = Vector3(1, 1, 1)
bones/11/name = "wrist.r"
bones/11/parent = 10
bones/11/rest = Transform3D(0.998579, 0.0532972, 3.34959e-09, -0.0532972, 0.998579, 4.71254e-07, 2.17717e-08, -4.70763e-07, 1, -6.74523e-09, 0.260044, -2.1653e-07)
bones/11/enabled = true
bones/11/position = Vector3(-3.8926e-08, 0.260044, 1.65044e-08)
bones/11/rotation = Quaternion(-2.17271e-07, -1.2558e-08, -0.0266581, 0.999645)
bones/11/position = Vector3(-3.8025597e-08, 0.260044, 1.7142359e-08)
bones/11/rotation = Quaternion(-2.1736308e-07, -1.2207626e-08, -0.026658092, 0.9996447)
bones/11/scale = Vector3(1, 1, 1)
bones/12/name = "hand.r"
bones/12/parent = 11
bones/12/rest = Transform3D(1, -8.32931e-14, 2.83546e-14, 8.32931e-14, 1, -6.34575e-14, -2.83546e-14, 6.34575e-14, 1, 2.04281e-14, 0.0738259, -1.19209e-07)
bones/12/enabled = true
bones/12/position = Vector3(-1.45549e-08, 0.0738259, -6.43915e-08)
bones/12/rotation = Quaternion(-0.318885, 0.30989, -0.229908, 0.865692)
bones/12/position = Vector3(-1.4361012e-08, 0.0738259, -6.226096e-08)
bones/12/rotation = Quaternion(-0.30990624, 0.31672114, -0.21900782, 0.86929935)
bones/12/scale = Vector3(1, 1, 1)
bones/13/name = "handslot.r"
bones/13/parent = 12
bones/13/rest = Transform3D(0, -1, 2.32809e-07, 1, 0, -6.86063e-08, 6.86063e-08, 2.32809e-07, 1, -8.34841e-10, 0.0961251, -0.0575)
bones/13/enabled = true
bones/13/position = Vector3(-2.03164e-08, 0.0961251, -0.0575)
bones/13/rotation = Quaternion(0.00108612, 0.0016464, 0.705229, 0.708977)
bones/13/position = Vector3(-2.3072376e-08, 0.0961251, -0.057499997)
bones/13/rotation = Quaternion(0.0022514018, 0.0029924125, 0.6986452, 0.7154585)
bones/13/scale = Vector3(1, 1, 1)
bones/14/name = "head"
bones/14/parent = 3
bones/14/rest = Transform3D(1, 8.09955e-22, 1.77636e-14, -8.09955e-22, 1, 1.49605e-14, -1.77636e-14, -1.49605e-14, 1, 4.67612e-25, 0.268797, 0)
bones/14/enabled = true
bones/14/position = Vector3(2.44597e-12, 0.268797, -7.67612e-11)
bones/14/rotation = Quaternion(-4.60927e-05, -0.0312189, 0.000116747, 0.999513)
bones/14/position = Vector3(-1.6324285e-10, 0.268797, 7.7182055e-10)
bones/14/rotation = Quaternion(-0.0037470802, -0.027061554, -0.00039658003, 0.99962676)
bones/14/scale = Vector3(1, 1, 1)
bones/15/name = "Skeleton_Warrior_Helmet"
bones/15/parent = 14
@ -678,187 +679,187 @@ bones/16/name = "upperleg.l"
bones/16/parent = 1
bones/16/rest = Transform3D(1, -1.31243e-07, -1.34242e-07, -1.35828e-07, -0.999396, -0.0347426, -1.29601e-07, 0.0347426, -0.999397, 0.170945, 0.113587, 1.70271e-08)
bones/16/enabled = true
bones/16/position = Vector3(0.170945, 0.113587, 8.39727e-05)
bones/16/rotation = Quaternion(0.991975, 0.0825827, 0.0763854, 0.0577094)
bones/16/position = Vector3(0.170945, 0.113587, -0.0026007548)
bones/16/rotation = Quaternion(0.9898942, 0.08128805, 0.076649055, 0.087331176)
bones/16/scale = Vector3(1, 1, 1)
bones/17/name = "lowerleg.l"
bones/17/parent = 16
bones/17/rest = Transform3D(1, 1.62704e-07, 1.37175e-07, -1.30054e-07, 0.977432, -0.211252, -1.68451e-07, 0.211252, 0.977432, -1.1194e-08, 0.227077, -2.32076e-08)
bones/17/enabled = true
bones/17/position = Vector3(3.92725e-08, 0.227078, 1.31507e-10)
bones/17/rotation = Quaternion(0.314309, 7.18479e-08, -2.14872e-07, 0.949321)
bones/17/position = Vector3(3.711441e-08, 0.227078, 1.8264419e-09)
bones/17/rotation = Quaternion(0.40605325, 6.60375e-08, -2.6881904e-07, 0.9138494)
bones/17/scale = Vector3(1, 1, 1)
bones/18/name = "foot.l"
bones/18/parent = 17
bones/18/rest = Transform3D(1, -6.39488e-14, 1.68587e-07, -1.36667e-07, 0.585513, 0.810663, -9.87102e-08, -0.810663, 0.585513, -1.49012e-08, 0.149437, 3.72566e-09)
bones/18/enabled = true
bones/18/position = Vector3(4.42013e-08, 0.149437, -7.41202e-09)
bones/18/rotation = Quaternion(-0.57941, -0.204057, 0.0616868, 0.786664)
bones/18/position = Vector3(4.3055053e-08, 0.149437, -7.684156e-09)
bones/18/rotation = Quaternion(-0.61338633, -0.19437061, 0.07693588, 0.7616155)
bones/18/scale = Vector3(1, 1, 0.999999)
bones/19/name = "toes.l"
bones/19/parent = 18
bones/19/rest = Transform3D(-1, 1.21361e-07, 3.37844e-07, -1.58967e-07, 0.694106, -0.719873, -3.21865e-07, -0.719873, -0.694106, -1.6149e-10, 0.16565, 8.79764e-10)
bones/19/enabled = true
bones/19/position = Vector3(-7.06039e-09, 0.16565, 2.6776e-08)
bones/19/rotation = Quaternion(2.44477e-05, 0.920179, -0.391499, -5.3615e-06)
bones/19/scale = Vector3(1, 0.999998, 1)
bones/19/position = Vector3(-6.7059007e-09, 0.16565, 2.7906918e-08)
bones/19/rotation = Quaternion(-2.113981e-06, 0.92016053, -0.39154157, 7.214058e-07)
bones/19/scale = Vector3(1, 0.9999979, 1)
bones/20/name = "upperleg.r"
bones/20/parent = 1
bones/20/rest = Transform3D(1, 1.31243e-07, 2.02657e-07, 1.38205e-07, -0.999396, -0.0347426, 1.97975e-07, 0.0347426, -0.999397, -0.170945, 0.113587, 5.32468e-09)
bones/20/enabled = true
bones/20/position = Vector3(-0.170945, 0.113508, -8.40578e-05)
bones/20/rotation = Quaternion(0.994505, -0.0313101, 0.0303763, 0.095163)
bones/20/position = Vector3(-0.170945, 0.113587, 0.0026007835)
bones/20/rotation = Quaternion(0.98980457, -0.03296901, 0.028445886, 0.13561313)
bones/20/scale = Vector3(1, 1, 1)
bones/21/name = "lowerleg.r"
bones/21/parent = 20
bones/21/rest = Transform3D(1, -1.65029e-07, -1.36672e-07, 1.32432e-07, 0.977432, -0.211252, 1.6845e-07, 0.211252, 0.977432, 1.18882e-08, 0.227077, -2.32075e-08)
bones/21/enabled = true
bones/21/position = Vector3(-9.55127e-09, 0.227077, -1.42528e-08)
bones/21/rotation = Quaternion(0.37043, -6.93991e-08, 2.61691e-07, 0.92886)
bones/21/scale = Vector3(1, 1, 1)
bones/21/position = Vector3(-9.046456e-09, 0.22707704, -1.35500775e-08)
bones/21/rotation = Quaternion(0.44002464, -6.607576e-08, 3.065296e-07, 0.8979857)
bones/21/scale = Vector3(1, 0.99999994, 1)
bones/22/name = "foot.r"
bones/22/parent = 21
bones/22/rest = Transform3D(1, 5.68434e-14, 1.68587e-07, -1.36668e-07, 0.585513, 0.810663, -9.87101e-08, -0.810663, 0.585513, 1.49012e-08, 0.149437, 3.72559e-09)
bones/22/enabled = true
bones/22/position = Vector3(1.62841e-08, 0.149437, 7.0457e-09)
bones/22/rotation = Quaternion(-0.60923, 0.112888, -0.016447, 0.784745)
bones/22/position = Vector3(1.5324318e-08, 0.149437, 5.977173e-09)
bones/22/rotation = Quaternion(-0.64815867, 0.109393306, -0.022521771, 0.75327045)
bones/22/scale = Vector3(1, 1, 0.999999)
bones/23/name = "toes.r"
bones/23/parent = 22
bones/23/rest = Transform3D(-1, 1.21361e-07, 3.58529e-08, 5.84281e-08, 0.694106, -0.719873, -1.12251e-07, -0.719873, -0.694106, -1.61491e-10, 0.16565, 2.84604e-09)
bones/23/enabled = true
bones/23/position = Vector3(7.14612e-09, 0.16565, 2.46738e-08)
bones/23/rotation = Quaternion(-8.86112e-05, 0.92022, -0.391403, 2.02529e-05)
bones/23/position = Vector3(8.46274e-09, 0.16565, 2.4479876e-08)
bones/23/rotation = Quaternion(-8.6833454e-05, 0.9202052, -0.39143625, 1.985089e-05)
bones/23/scale = Vector3(1, 0.999998, 1)
bones/24/name = "kneeIK.l"
bones/24/parent = 0
bones/24/rest = Transform3D(1, -2.47926e-07, -3.89414e-07, -3.89414e-07, 3.57628e-07, -1, 2.47926e-07, 1, 3.57628e-07, 0.170945, 0.29231, 0.575812)
bones/24/enabled = true
bones/24/position = Vector3(0.170945, 0.292401, 0.575903)
bones/24/rotation = Quaternion(0.707107, -2.25343e-07, -5.00147e-08, 0.707107)
bones/24/position = Vector3(0.170945, 0.2928606, 0.5763626)
bones/24/rotation = Quaternion(0.7071068, -2.2533395e-07, -5.0023697e-08, 0.7071068)
bones/24/scale = Vector3(1, 1, 1)
bones/25/name = "control-toe-roll.l"
bones/25/parent = 0
bones/25/rest = Transform3D(1, 2.05345e-07, -6.39488e-14, -7.10543e-15, 3.57628e-07, 1, 2.05345e-07, -1, 3.57628e-07, 0.170945, 0.0259902, 0.245789)
bones/25/enabled = true
bones/25/position = Vector3(0.20199, 0.0265764, 0.206245)
bones/25/rotation = Quaternion(-0.707837, -7.25281e-08, -7.26819e-08, 0.706375)
bones/25/position = Vector3(0.2012834, 0.029308936, 0.18712804)
bones/25/rotation = Quaternion(-0.68809396, -7.43848e-08, -7.074649e-08, 0.72562164)
bones/25/scale = Vector3(1, 1, 1)
bones/26/name = "control-heel-roll.l"
bones/26/parent = 25
bones/26/rest = Transform3D(-1, 1.33759e-14, -1.65812e-07, -1.33759e-14, -1, -4.16075e-15, -1.65812e-07, -4.16075e-15, 1, 1.90583e-08, 0.362833, -9.01383e-10)
bones/26/enabled = true
bones/26/position = Vector3(-7.72373e-10, 0.362833, -6.46216e-10)
bones/26/rotation = Quaternion(-7.43636e-08, 1.38597e-08, 0.985894, -0.16737)
bones/26/position = Vector3(-8.121347e-10, 0.362833, -9.1456925e-10)
bones/26/rotation = Quaternion(-7.460713e-08, 1.3971166e-08, 0.98652714, -0.16359802)
bones/26/scale = Vector3(1, 1, 1)
bones/27/name = "control-foot-roll.l"
bones/27/parent = 26
bones/27/rest = Transform3D(-1, -1.44017e-07, -2.51498e-07, -8.10837e-08, -0.694106, 0.719873, -2.7824e-07, 0.719873, 0.694106, -8.85797e-10, 0.213436, -8.66923e-10)
bones/27/enabled = true
bones/27/position = Vector3(-4.35544e-08, 0.213436, -1.24659e-08)
bones/27/rotation = Quaternion(-1.33463e-07, 0.391084, 0.920355, 2.12762e-08)
bones/27/position = Vector3(-4.1979845e-08, 0.213436, -1.198788e-08)
bones/27/rotation = Quaternion(-1.3368853e-07, 0.39108407, 0.9203551, 2.1124297e-08)
bones/27/scale = Vector3(1, 1, 1)
bones/28/name = "heelIK.l"
bones/28/parent = 27
bones/28/rest = Transform3D(1, 1.16602e-07, -2.30213e-08, -6.43617e-08, 0.694106, 0.719873, 9.99178e-08, -0.719873, 0.694106, 7.39534e-10, 0.16565, -5.83864e-09)
bones/28/enabled = true
bones/28/position = Vector3(2.53125e-08, 0.16565, 4.52637e-10)
bones/28/rotation = Quaternion(-0.391084, -1.93378e-08, -4.71218e-08, 0.920355)
bones/28/position = Vector3(2.4700546e-08, 0.16565, 4.972237e-10)
bones/28/rotation = Quaternion(-0.39108407, -1.9649402e-08, -4.7146706e-08, 0.9203551)
bones/28/scale = Vector3(1, 1, 1)
bones/29/name = "IK-foot.l"
bones/29/parent = 27
bones/29/rest = Transform3D(1, 3.25834e-14, 3.89414e-07, -6.02602e-14, -1, 2.38419e-07, 3.89414e-07, -2.38419e-07, -1, 1.56407e-08, 0.16565, -1.42205e-08)
bones/29/enabled = true
bones/29/position = Vector3(4.43888e-08, 0.16565, -1.03118e-08)
bones/29/rotation = Quaternion(1, -1.45027e-08, 1.98732e-07, -1.03444e-07)
bones/29/position = Vector3(4.3800544e-08, 0.16565, -9.899249e-09)
bones/29/rotation = Quaternion(1, -1.412756e-08, 1.9864041e-07, -1.0382977e-07)
bones/29/scale = Vector3(1, 1, 1)
bones/30/name = "IK-toe.l"
bones/30/parent = 26
bones/30/rest = Transform3D(1, 3.55183e-08, -6.34202e-15, -3.55183e-08, 1, -8.06019e-08, 3.47919e-15, 8.06019e-08, 1, -8.46667e-09, 1.56659e-08, -1.80702e-08)
bones/30/enabled = true
bones/30/position = Vector3(-1.0182e-08, 1.41062e-08, -1.90799e-08)
bones/30/rotation = Quaternion(4.02454e-08, -2.25199e-12, -1.77726e-08, 1)
bones/30/position = Vector3(-1.0272754e-08, 1.328919e-08, -1.8720131e-08)
bones/30/rotation = Quaternion(4.0935383e-08, -1.4706215e-11, -1.775972e-08, 1)
bones/30/scale = Vector3(1, 1, 1)
bones/31/name = "kneeIK.r"
bones/31/parent = 0
bones/31/rest = Transform3D(1, -2.47926e-07, 1.50996e-07, 1.50996e-07, 3.57628e-07, -1, 2.47926e-07, 1, 3.57628e-07, -0.170945, 0.29231, 0.575812)
bones/31/enabled = true
bones/31/position = Vector3(-0.170945, 0.292401, 0.575903)
bones/31/rotation = Quaternion(0.707107, -3.4279e-08, 1.41049e-07, 0.707107)
bones/31/position = Vector3(-0.170945, 0.2928606, 0.5763626)
bones/31/rotation = Quaternion(0.7071068, -3.4269988e-08, 1.4103998e-07, 0.7071068)
bones/31/scale = Vector3(1, 1, 1)
bones/32/name = "control-toe-roll.r"
bones/32/parent = 0
bones/32/rest = Transform3D(1, 2.05345e-07, -5.68434e-14, -1.42109e-14, 3.57628e-07, 1, 2.05345e-07, -1, 3.57628e-07, -0.170945, 0.0259902, 0.245789)
bones/32/enabled = true
bones/32/position = Vector3(-0.170945, 0.0257945, 0.243614)
bones/32/rotation = Quaternion(-0.704878, -7.28414e-08, -7.23493e-08, 0.709329)
bones/32/position = Vector3(-0.170945, 0.034729116, 0.25468138)
bones/32/rotation = Quaternion(-0.7137611, -7.2126696e-08, -7.314929e-08, 0.70038927)
bones/32/scale = Vector3(1, 1, 1)
bones/33/name = "control-heel-roll.r"
bones/33/parent = 32
bones/33/rest = Transform3D(-1, -6.00194e-17, -1.65812e-07, 6.00201e-17, -1, -4.16075e-15, -1.65812e-07, -4.16075e-15, 1, 1.90583e-08, 0.362833, -6.00926e-10)
bones/33/enabled = true
bones/33/position = Vector3(1.2526e-08, 0.362833, -5.76575e-10)
bones/33/rotation = Quaternion(-9.35961e-08, -8.40289e-09, 0.994873, 0.101131)
bones/33/position = Vector3(1.2485181e-08, 0.36283296, 1.5573274e-09)
bones/33/rotation = Quaternion(-9.334771e-08, -8.180124e-09, 0.9951036, 0.09883852)
bones/33/scale = Vector3(1, 1, 1)
bones/34/name = "control-foot-roll.r"
bones/34/parent = 33
bones/34/rest = Transform3D(-1, -1.44017e-07, -2.51498e-07, -8.10837e-08, -0.694106, 0.719873, -2.7824e-07, 0.719873, 0.694106, 1.40154e-08, 0.213436, -5.23748e-10)
bones/34/enabled = true
bones/34/position = Vector3(-3.29326e-09, 0.213436, -1.61913e-08)
bones/34/rotation = Quaternion(-1.46991e-07, 0.391084, 0.920355, 2.41153e-08)
bones/34/position = Vector3(-2.8788447e-09, 0.213436, -1.5750539e-08)
bones/34/rotation = Quaternion(-1.4690313e-07, 0.39108407, 0.9203551, 2.3901416e-08)
bones/34/scale = Vector3(1, 1, 1)
bones/35/name = "heelIK.r"
bones/35/parent = 34
bones/35/rest = Transform3D(1, 1.16602e-07, -2.30213e-08, -6.43617e-08, 0.694106, 0.719873, 9.99178e-08, -0.719873, 0.694106, 7.3953e-10, 0.16565, 1.51519e-08)
bones/35/enabled = true
bones/35/position = Vector3(-8.95507e-09, 0.16565, 1.69236e-08)
bones/35/rotation = Quaternion(-0.391084, -3.11271e-08, -5.81628e-08, 0.920355)
bones/35/position = Vector3(-8.611565e-09, 0.16565, 1.7774493e-08)
bones/35/rotation = Quaternion(-0.39108407, -3.119247e-08, -5.7946576e-08, 0.9203551)
bones/35/scale = Vector3(1, 1, 1)
bones/36/name = "IK-foot.r"
bones/36/parent = 34
bones/36/rest = Transform3D(1, 3.98363e-14, 3.89414e-07, -1.8191e-14, -1, 1.49012e-07, 3.89414e-07, -1.49012e-07, -1, 7.39527e-10, 0.16565, 3.75036e-08)
bones/36/enabled = true
bones/36/position = Vector3(5.95035e-09, 0.16565, 1.14944e-08)
bones/36/rotation = Quaternion(1, -1.4566e-09, 1.93297e-07, -8.74611e-08)
bones/36/position = Vector3(6.2433436e-09, 0.16565, 1.1628558e-08)
bones/36/rotation = Quaternion(1, -1.4135588e-09, 1.9334136e-07, -8.717561e-08)
bones/36/scale = Vector3(1, 1, 1)
bones/37/name = "IK-toe.r"
bones/37/parent = 33
bones/37/rest = Transform3D(1, 3.55183e-08, 1.56374e-15, -3.55183e-08, 1, 1.53609e-09, -1.50918e-15, -1.53609e-09, 1, -8.46667e-09, 1.40714e-08, -1.95874e-10)
bones/37/enabled = true
bones/37/position = Vector3(4.16612e-09, -3.8398e-09, -5.70163e-09)
bones/37/rotation = Quaternion(-7.41324e-10, -2.08044e-11, -1.77787e-08, 1)
bones/37/position = Vector3(4.2355413e-09, -3.810406e-09, -4.932606e-09)
bones/37/rotation = Quaternion(-7.7016993e-10, 1.8049963e-11, -1.7748713e-08, 1)
bones/37/scale = Vector3(1, 1, 1)
bones/38/name = "elbowIK.l"
bones/38/parent = 0
bones/38/rest = Transform3D(1, 1.98341e-07, 0, 0, 0, 1, 1.98341e-07, -1, 0, 0.453507, 1.10676, -0.588859)
bones/38/enabled = true
bones/38/position = Vector3(0.454596, 1.10507, -0.589102)
bones/38/rotation = Quaternion(-0.707107, -0.000211997, -0.000211997, 0.707107)
bones/38/position = Vector3(0.4532266, 1.1010066, -0.59185445)
bones/38/rotation = Quaternion(-0.7071068, 0.0001409744, 0.0001409744, 0.7071068)
bones/38/scale = Vector3(1, 1, 1)
bones/39/name = "handIK.l"
bones/39/parent = 0
bones/39/rest = Transform3D(-1.19209e-07, 1, 0, -1.19209e-07, 0, 1, 1, 1.19209e-07, 1.19209e-07, 0.713181, 1.10676, 2.99767e-07)
bones/39/enabled = true
bones/39/position = Vector3(0.520576, 0.783195, -0.0571697)
bones/39/rotation = Quaternion(0.795105, 0.00211603, 0.606467, 0.00129491)
bones/39/position = Vector3(0.520624, 0.7724112, -0.052451506)
bones/39/rotation = Quaternion(0.80046123, 0.013657781, 0.59922504, 0.002138299)
bones/39/scale = Vector3(1, 1, 1)
bones/40/name = "elbowIK.r"
bones/40/parent = 0
bones/40/rest = Transform3D(1, 1.98341e-07, 0, 0, 0, 1, 1.98341e-07, -1, 0, -0.453507, 1.10676, -0.58886)
bones/40/enabled = true
bones/40/position = Vector3(-0.453086, 1.10541, -0.590521)
bones/40/rotation = Quaternion(-0.707107, -0.000211997, -0.000211997, 0.707107)
bones/40/position = Vector3(-0.45423207, 1.100778, -0.5909114)
bones/40/rotation = Quaternion(-0.7071068, 0.0001409744, 0.0001409744, 0.7071068)
bones/40/scale = Vector3(1, 1, 1)
bones/41/name = "handIK.r"
bones/41/parent = 0
bones/41/rest = Transform3D(0, -1, -5.96046e-08, 1.78814e-07, -1.19209e-07, 1, -1, -5.96046e-08, 1.19209e-07, -0.713182, 1.10676, -6.1348e-08)
bones/41/enabled = true
bones/41/position = Vector3(-0.510863, 0.783341, 0.0606468)
bones/41/rotation = Quaternion(-0.760093, 0.00298946, 0.649806, -0.00108636)
bones/41/position = Vector3(-0.5107663, 0.7724112, 0.062186863)
bones/41/rotation = Quaternion(-0.7652229, 0.012779577, 0.643634, -0.002427085)
bones/41/scale = Vector3(1, 1, 1)
[node name="Skeleton_Warrior_Helmet" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.99964, -0.000884605, 0.0268212, 0.000908803, 0.999999, -0.00089003, -0.0268204, 0.000914085, 0.99964, -9.85306e-05, 1.19064, 0.000576521)
transform = Transform3D(0.9997463, 0.00178095, 0.022455357, -0.001621984, 0.9999736, -0.0070954254, -0.022467397, 0.007057204, 0.99972266, 0.0005384193, 1.1819277, 0.009391994)
bone_name = "Skeleton_Warrior_Helmet"
bone_idx = 15
@ -909,11 +910,11 @@ collision_mask = 2
script = ExtResource("3_372dk")
[node name="HurtBox_CollisionShape" type="CollisionShape3D" parent="Rig/Skeleton3D/HurtBox"]
transform = Transform3D(1, -1.18234e-11, 9.31323e-10, 6.54836e-11, 1, -3.49246e-10, 0, 2.32831e-10, 1, -0.00176985, 1.23499, 0.00163042)
transform = Transform3D(1, 6.366463e-12, 9.313226e-10, -2.0982043e-09, 1, -2.4330802e-08, -4.7963113e-08, 2.3283064e-10, 1, -0.0017698503, 1.2251614, 0.00163042)
shape = SubResource("CapsuleShape3D_c30pj")
[node name="lowerarm_r" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.596467, -0.466562, -0.653105, -0.238629, -0.673822, 0.699299, -0.766343, 0.572958, 0.290578, -0.390152, 0.958555, -0.0875007)
transform = Transform3D(-0.5914285, -0.47062007, -0.65477324, -0.23252611, -0.6779804, 0.6973327, -0.7721021, 0.56467444, 0.29154614, -0.38927025, 0.95098674, -0.086938955)
bone_name = "lowerarm.r"
bone_idx = 10
@ -927,7 +928,7 @@ shape = SubResource("CapsuleShape3D_wwi0t")
disabled = true
[node name="lowerarm_l" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(-0.488413, 0.548348, 0.678798, 0.0880652, -0.742944, 0.663534, 0.868156, 0.383857, 0.314574, 0.378482, 0.976564, -0.157998)
transform = Transform3D(-0.48860347, 0.5560741, 0.6723446, 0.068497784, -0.743764, 0.6649226, 0.8698119, 0.37093762, 0.3253165, 0.37948722, 0.97069645, -0.15059996)
bone_name = "lowerarm.l"
bone_idx = 5
@ -941,7 +942,7 @@ shape = SubResource("CapsuleShape3D_ba1wv")
disabled = true
[node name="lowerleg_r" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.998167, -0.0591851, 0.0126799, -0.0567554, -0.84238, 0.535887, -0.0210351, -0.535624, -0.844195, -0.181999, 0.271448, 0.0585737)
transform = Transform3D(0.998176, -0.05677355, 0.020529633, -0.057759788, -0.7991478, 0.59835327, -0.017564422, -0.59844756, -0.8009694, -0.18169501, 0.266748, 0.07781544)
bone_name = "lowerleg.r"
bone_idx = 21
@ -955,7 +956,7 @@ shape = SubResource("CapsuleShape3D_r0iiv")
disabled = true
[node name="lowerleg_l" type="BoneAttachment3D" parent="Rig/Skeleton3D"]
transform = Transform3D(0.983423, 0.177125, -0.0388069, 0.172376, -0.846817, 0.503176, 0.0562627, -0.501525, -0.863312, 0.20786, 0.271488, 0.0107704)
transform = Transform3D(0.9831166, 0.17167935, -0.06330851, 0.1736976, -0.7668057, 0.6179304, 0.057540566, -0.6184942, -0.7836798, 0.20697929, 0.26456165, 0.021867342)
bone_name = "lowerleg.l"
bone_idx = 17
@ -978,7 +979,7 @@ libraries = {
[node name="AnimationTree" type="AnimationTree" parent="."]
tree_root = SubResource("AnimationNodeStateMachine_7v7qh")
anim_player = NodePath("../AnimationPlayer")
parameters/IWR/blend_position = Vector2(-0.00171721, -0.00444448)
parameters/IWR/blend_position = Vector2(0.0011428595, 0.027624369)
[node name="sprite_enemy_overlay" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)

@ -1,6 +1,6 @@
[gd_resource type="MeshLibrary" load_steps=61 format=4 uid="uid://dje66fxvu4hnm"]
[ext_resource type="Material" uid="uid://necdpoannnkr" path="res://resources/models/dungeon/textures/texture.tres" id="1_h3coj"]
[ext_resource type="Material" uid="uid://necdpoannnkr" path="res://resources/models/dungeon/Textures/texture.tres" id="1_h3coj"]
[sub_resource type="ArrayMesh" id="ArrayMesh_1j13a"]
_surfaces = [{

@ -1,7 +1,7 @@
[gd_resource type="MeshLibrary" load_steps=84 format=4 uid="uid://bs0yqy7xhugol"]
[ext_resource type="Material" uid="uid://necdpoannnkr" path="res://resources/models/dungeon/textures/texture.tres" id="1_7wu0l"]
[ext_resource type="Texture2D" uid="uid://3i63817g50qe" path="res://resources/models/dungeon/textures/dungeon_texture.png" id="1_liv3e"]
[ext_resource type="Material" uid="uid://necdpoannnkr" path="res://resources/models/dungeon/Textures/texture.tres" id="1_7wu0l"]
[ext_resource type="Texture2D" uid="uid://3i63817g50qe" path="res://resources/models/dungeon/Textures/dungeon_texture.png" id="1_liv3e"]
[sub_resource type="ArrayMesh" id="ArrayMesh_alv7x"]
_surfaces = [{

@ -61,6 +61,7 @@ script = ExtResource("1_kvi4c")
[node name="SpawnManager" type="Node" parent="." node_paths=PackedStringArray("enemies_folder", "spawn_points", "enemies_ui_manager", "spawn_points_container")]
script = ExtResource("4_2vmwg")
max_enemy = 1
enemies_folder = NodePath("Enemies")
enemies = Array[PackedScene]([ExtResource("13_8a4e7")])
enemies_ui = ExtResource("9_p6yn7")

@ -27,32 +27,48 @@ func _physics_process(_delta: float) -> void:
state = States.attacking
func _on_state_changed(_old_state: States, new_state: States) -> void:
if new_state == _old_state:
return
name_changed.emit(unit_name, States.keys()[new_state])
print("Enemy changed state from " + str(_old_state) + " to " + str(new_state))
match new_state:
States.idle:
# TODO: Random movement
_on_velocity_computed(Vector3.ZERO)
States.chasing:
nav_agent.set_target_position(player.position)
if nav_agent.is_navigation_finished() or nav_agent.is_target_reached(): return
if nav_agent.is_navigation_finished() or nav_agent.is_target_reached():
return
var next_path_position: Vector3 = nav_agent.get_next_path_position()
if next_path_position != null and position != next_path_position:
model.look_at(next_path_position)
if next_path_position != null:
if global_position != next_path_position:
model.look_at(next_path_position)
print("Global position:", global_position, "Next path position:", next_path_position)
var new_velocity: Vector3 = global_position.direction_to(next_path_position) * speed
_on_velocity_computed(new_velocity)
States.attacking:
if enough_stamina_available(attack_cost):
use_stamina(attack_cost)
if attacks.size() > 0:
anim_state.travel(attacks.pick_random())
States.dead:
player.gold += 1
func _on_velocity_computed(safe_velocity: Vector3) -> void:
print("Called by:", get_stack())
velocity = safe_velocity
var vy: float = velocity.y
velocity.y = 0
var vl: Vector3 = velocity * model.transform.basis
anim_tree.set("parameters/IWR/blend_position", Vector2(vl.x, -vl.z) / speed)
var iwr := Vector2(vl.x, -vl.z) / speed
print("iwr = (%s, %s)" % [iwr.x, iwr.y])
anim_tree.set("parameters/IWR/blend_position", iwr)
velocity.y = vy
print("Velocity after computation: ", velocity)
move_and_slide()

@ -9,8 +9,7 @@ extends Node
@export var enemies_ui_manager: Node
@export var spawn_points_container: Node
@onready var player: Player = get_tree().get_first_node_in_group("player")
var player: Player
var current_enemies: Array[Enemy] = []
var enemy_number := 0
var enemy_ui_ready := false:
@ -21,6 +20,11 @@ var enemy_ui_ready := false:
if value:
enemy_count_changed()
func _ready() -> void:
player = get_tree().get_first_node_in_group("player")
if player == null:
print("Error: No player found!!")
func enemy_count_changed() -> void:
print("Enough enemies? " + str(current_enemies.size()) + "/" + str(max_enemy))
if current_enemies.size() < max_enemy: