Initial commit.
This commit is contained in:
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,157 @@
|
||||
[gd_resource type="AnimationNodeStateMachine" format=3 uid="uid://bpig32x87krbb"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_m5daq"]
|
||||
animation = &"AL_Protagonist/SliceTime_Ground_Enter"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_pdsvv"]
|
||||
animation = &"AL_Protagonist/SliceTime_Ground_Idle"
|
||||
|
||||
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_m5daq"]
|
||||
filter_enabled = true
|
||||
filters = ["Mixamo/Skeleton3D:spine", "Mixamo/Skeleton3D:spine1", "Mixamo/Skeleton3D:spine2"]
|
||||
|
||||
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_pdsvv"]
|
||||
|
||||
[sub_resource type="AnimationNodeTimeScale" id="AnimationNodeTimeScale_yol58"]
|
||||
|
||||
[sub_resource type="AnimationNodeTimeSeek" id="AnimationNodeTimeSeek_yol58"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_brslx"]
|
||||
animation = &"AL_Protagonist/SliceTime_Ground_Aim_Angle"
|
||||
|
||||
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_c6kgd"]
|
||||
filter_enabled = true
|
||||
filters = ["Mixamo/Skeleton3D:arm.L", "Mixamo/Skeleton3D:arm.R", "Mixamo/Skeleton3D:forearm.L", "Mixamo/Skeleton3D:forearm.R", "Mixamo/Skeleton3D:hand.L", "Mixamo/Skeleton3D:hand.R", "Mixamo/Skeleton3D:handindex1.L", "Mixamo/Skeleton3D:handindex1.R", "Mixamo/Skeleton3D:handindex2.L", "Mixamo/Skeleton3D:handindex2.R", "Mixamo/Skeleton3D:handindex3.L", "Mixamo/Skeleton3D:handindex3.R", "Mixamo/Skeleton3D:handindex4.L", "Mixamo/Skeleton3D:handindex4.R", "Mixamo/Skeleton3D:handmiddle1.L", "Mixamo/Skeleton3D:handmiddle1.R", "Mixamo/Skeleton3D:handmiddle2.L", "Mixamo/Skeleton3D:handmiddle2.R", "Mixamo/Skeleton3D:handmiddle3.L", "Mixamo/Skeleton3D:handmiddle3.R", "Mixamo/Skeleton3D:handmiddle4.L", "Mixamo/Skeleton3D:handmiddle4.R", "Mixamo/Skeleton3D:handpinky1.L", "Mixamo/Skeleton3D:handpinky1.R", "Mixamo/Skeleton3D:handpinky2.L", "Mixamo/Skeleton3D:handpinky2.R", "Mixamo/Skeleton3D:handpinky3.L", "Mixamo/Skeleton3D:handpinky3.R", "Mixamo/Skeleton3D:handpinky4.L", "Mixamo/Skeleton3D:handpinky4.R", "Mixamo/Skeleton3D:handring1.L", "Mixamo/Skeleton3D:handring1.R", "Mixamo/Skeleton3D:handring2.L", "Mixamo/Skeleton3D:handring2.R", "Mixamo/Skeleton3D:handring3.L", "Mixamo/Skeleton3D:handring3.R", "Mixamo/Skeleton3D:handring4.L", "Mixamo/Skeleton3D:handring4.R", "Mixamo/Skeleton3D:handthumb1.L", "Mixamo/Skeleton3D:handthumb1.R", "Mixamo/Skeleton3D:handthumb2.L", "Mixamo/Skeleton3D:handthumb2.R", "Mixamo/Skeleton3D:handthumb3.L", "Mixamo/Skeleton3D:handthumb3.R", "Mixamo/Skeleton3D:handthumb4.L", "Mixamo/Skeleton3D:handthumb4.R", "Mixamo/Skeleton3D:shoulder.L", "Mixamo/Skeleton3D:shoulder.R"]
|
||||
|
||||
[sub_resource type="AnimationNodeTimeSeek" id="AnimationNodeTimeSeek_brslx"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_hwoy0"]
|
||||
animation = &"AL_Protagonist/SliceTime_Aim_UpDown"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_a4ggk"]
|
||||
graph_offset = Vector2(-90.20443, 88.50985)
|
||||
nodes/output/position = Vector2(1680, 346.66666)
|
||||
nodes/TimeScale/node = SubResource("AnimationNodeTimeScale_yol58")
|
||||
nodes/TimeScale/position = Vector2(1040, 400)
|
||||
nodes/slice_time_pitch/node = SubResource("AnimationNodeTimeSeek_brslx")
|
||||
nodes/slice_time_pitch/position = Vector2(853.3333, 400)
|
||||
nodes/slice_time_pitch_animation/node = SubResource("AnimationNodeAnimation_hwoy0")
|
||||
nodes/slice_time_pitch_animation/position = Vector2(506.66666, 400)
|
||||
nodes/Animation/node = SubResource("AnimationNodeAnimation_pdsvv")
|
||||
nodes/Animation/position = Vector2(853.3333, 186.66667)
|
||||
nodes/Blend2/node = SubResource("AnimationNodeBlend2_m5daq")
|
||||
nodes/Blend2/position = Vector2(1226.6666, 240)
|
||||
nodes/slice_time_angle_blend/node = SubResource("AnimationNodeBlend2_c6kgd")
|
||||
nodes/slice_time_angle_blend/position = Vector2(1440, 346.66666)
|
||||
nodes/slice_time_angle_animation/node = SubResource("AnimationNodeAnimation_brslx")
|
||||
nodes/slice_time_angle_animation/position = Vector2(640, 613.3333)
|
||||
"nodes/TimeScale 2/node" = SubResource("AnimationNodeTimeScale_pdsvv")
|
||||
"nodes/TimeScale 2/position" = Vector2(1226.6666, 560)
|
||||
nodes/slice_time_angle/node = SubResource("AnimationNodeTimeSeek_yol58")
|
||||
nodes/slice_time_angle/position = Vector2(1040, 613.3333)
|
||||
node_connections = [&"output", 0, &"slice_time_angle_blend", &"TimeScale", 0, &"slice_time_pitch", &"slice_time_pitch", 0, &"slice_time_pitch_animation", &"Blend2", 0, &"Animation", &"Blend2", 1, &"TimeScale", &"slice_time_angle_blend", 0, &"Blend2", &"slice_time_angle_blend", 1, &"TimeScale 2", &"TimeScale 2", 0, &"slice_time_angle", &"slice_time_angle", 0, &"slice_time_angle_animation"]
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_c6kgd"]
|
||||
animation = &"AL_Protagonist/FastRun"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_yol58"]
|
||||
animation = &"AL_Protagonist/JogForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_a4ggk"]
|
||||
animation = &"AL_Protagonist/RunForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_br8iv"]
|
||||
animation = &"AL_Protagonist/WalkForward"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendSpace2D" id="AnimationNodeBlendSpace2D_c6kgd"]
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_c6kgd")
|
||||
blend_point_0/pos = Vector2(0, 1)
|
||||
blend_point_0/name = &"AL_Protagonist_FastRun"
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_yol58")
|
||||
blend_point_1/pos = Vector2(1, 0)
|
||||
blend_point_1/name = &"AL_Protagonist_JogForward"
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_a4ggk")
|
||||
blend_point_2/pos = Vector2(0, -1)
|
||||
blend_point_2/name = &"AL_Protagonist_RunForward"
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_br8iv")
|
||||
blend_point_3/pos = Vector2(-1, 0)
|
||||
blend_point_3/name = &"AL_Protagonist_WalkForward"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_c6kgd"]
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_br8iv"]
|
||||
xfade_time = 0.1
|
||||
switch_mode = 2
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_yol58"]
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_brslx"]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_hwoy0"]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_c6kgd"]
|
||||
state_machine_type = 2
|
||||
states/End/position = Vector2(777.6188, 87.209885)
|
||||
states/Start/position = Vector2(170.66667, -21.33332)
|
||||
states/slice_time_enter/node = SubResource("AnimationNodeAnimation_m5daq")
|
||||
states/slice_time_enter/position = Vector2(442.0142, -21.185173)
|
||||
states/slice_time_idle/node = SubResource("AnimationNodeBlendTree_a4ggk")
|
||||
states/slice_time_idle/position = Vector2(441.64224, 87.11249)
|
||||
states/slice_time_swing/node = SubResource("AnimationNodeBlendSpace2D_c6kgd")
|
||||
states/slice_time_swing/position = Vector2(441.83017, 210.33333)
|
||||
transitions = ["Start", "slice_time_enter", SubResource("AnimationNodeStateMachineTransition_c6kgd"), "slice_time_enter", "slice_time_idle", SubResource("AnimationNodeStateMachineTransition_br8iv"), "slice_time_idle", "End", SubResource("AnimationNodeStateMachineTransition_yol58"), "slice_time_idle", "slice_time_swing", SubResource("AnimationNodeStateMachineTransition_brslx"), "slice_time_swing", "slice_time_idle", SubResource("AnimationNodeStateMachineTransition_hwoy0")]
|
||||
graph_offset = Vector2(-345, -43)
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_2ddk3"]
|
||||
animation = &"AL_Protagonist/JogForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_baibx"]
|
||||
animation = &"AL_Protagonist/RunForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_j3mgm"]
|
||||
animation = &"AL_Protagonist/WalkForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_tx82o"]
|
||||
animation = &"AL_Protagonist/StandIdle"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_cskv4"]
|
||||
animation = &"AL_Protagonist/FastRun"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendSpace1D" id="AnimationNodeBlendSpace1D_enbxg"]
|
||||
min_space = 0.0
|
||||
sync_mode = 2
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_2ddk3")
|
||||
blend_point_0/pos = 0.4
|
||||
blend_point_0/name = &"JogForward"
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_baibx")
|
||||
blend_point_1/pos = 0.7
|
||||
blend_point_1/name = &"RunForward"
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_j3mgm")
|
||||
blend_point_2/pos = 0.1
|
||||
blend_point_2/name = &"Walk"
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_tx82o")
|
||||
blend_point_3/pos = 0.0
|
||||
blend_point_3/name = &"StandIdle"
|
||||
blend_point_4/node = SubResource("AnimationNodeAnimation_cskv4")
|
||||
blend_point_4/pos = 1.0
|
||||
blend_point_4/name = &"FastRun"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_vtyg2"]
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_m5daq"]
|
||||
xfade_time = 0.05
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_pdsvv"]
|
||||
xfade_time = 0.1
|
||||
|
||||
[resource]
|
||||
states/slice_time/node = SubResource("AnimationNodeStateMachine_c6kgd")
|
||||
states/slice_time/position = Vector2(466.7691, -11.666668)
|
||||
states/walk/node = SubResource("AnimationNodeBlendSpace1D_enbxg")
|
||||
states/walk/position = Vector2(466.0768, 99.98781)
|
||||
transitions = ["Start", "walk", SubResource("AnimationNodeStateMachineTransition_vtyg2"), "walk", "slice_time", SubResource("AnimationNodeStateMachineTransition_m5daq"), "slice_time", "walk", SubResource("AnimationNodeStateMachineTransition_pdsvv")]
|
||||
graph_offset = Vector2(-125, -120)
|
||||
@@ -0,0 +1,213 @@
|
||||
[gd_scene format=3 uid="uid://0lx4ngfees3q"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://cp2iyvxs5kx7e" path="res://Assets/Visuals/Materials/TestInternals/M_TestInternals_X.material" id="1_j4hkv"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://bio6w8k7th2hl" path="res://Assets/Visuals/Meshes/Mixamo/M_MixamoBot.mesh" id="1_q30x1"]
|
||||
[ext_resource type="Skin" uid="uid://c05u3ucifnrbf" path="res://Assets/Visuals/Meshes/Mixamo/M_MixamoBot_Skin.res" id="2_5rrk6"]
|
||||
[ext_resource type="Material" uid="uid://bws54cnypkiv5" path="res://Assets/Visuals/Materials/TestInternals/M_TestInternals_Y.material" id="2_n3aqr"]
|
||||
[ext_resource type="Material" uid="uid://bo7tv8v1l0fae" path="res://Assets/Visuals/Materials/TestInternals/M_TestInternals_Z.material" id="3_yglml"]
|
||||
[ext_resource type="PackedScene" uid="uid://gww8eh64wivh" path="res://Assets/Classes/CharacterSkeleton3D_Mixamo.tscn" id="4_5rrk6"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_6ql8e"]
|
||||
radius = 0.28466797
|
||||
height = 1.8
|
||||
|
||||
[node name="Character3D" type="Character3D" unique_id=999352838 node_paths=PackedStringArray("character_skeleton")]
|
||||
character_skeleton = NodePath("SK_Mixamo")
|
||||
inner_materials = Array[Material]([ExtResource("1_j4hkv"), ExtResource("2_n3aqr"), ExtResource("3_yglml")])
|
||||
collision_layer = 32
|
||||
collision_mask = 4127
|
||||
axis_lock_angular_x = true
|
||||
axis_lock_angular_z = true
|
||||
slide_on_ceiling = false
|
||||
wall_min_slide_angle = 0.0
|
||||
floor_block_on_wall = false
|
||||
floor_max_angle = 1.134464
|
||||
floor_snap_length = 1.0
|
||||
platform_on_leave = 1
|
||||
platform_floor_layers = 15
|
||||
|
||||
[node name="SK_Mixamo" parent="." unique_id=581893179 instance=ExtResource("4_5rrk6")]
|
||||
|
||||
[node name="Skeleton3D" parent="SK_Mixamo/Mixamo" parent_id_path=PackedInt32Array(581893179, 2043084189) index="0" unique_id=2131179153]
|
||||
bones/1/rotation = Quaternion(0.7070774, -0.014512554, -0.053851094, 0.70493335)
|
||||
bones/2/rotation = Quaternion(-0.06994802, 0.0033397526, 0.015703727, 0.9974215)
|
||||
bones/3/rotation = Quaternion(0.020657148, 0.004828219, 0.027607745, 0.9993937)
|
||||
bones/4/rotation = Quaternion(0.033533357, 0.005183548, 0.027543202, 0.9990446)
|
||||
bones/5/rotation = Quaternion(-0.09092616, 0.0013580021, 0.0035546608, 0.99585044)
|
||||
bones/6/rotation = Quaternion(0.037028432, 0.01514831, -0.043936312, 0.998233)
|
||||
bones/8/rotation = Quaternion(0.5689832, 0.5034715, -0.53907186, 0.3635604)
|
||||
bones/9/rotation = Quaternion(0.5121756, 0.20680031, 0.22299673, 0.8032324)
|
||||
bones/10/rotation = Quaternion(0.00041285282, -0.0054894676, 0.07487302, 0.99717796)
|
||||
bones/11/rotation = Quaternion(-0.10021837, -0.15261312, 0.15411322, 0.9710379)
|
||||
bones/12/rotation = Quaternion(0.13139476, -0.068772115, -0.09848447, 0.98402584)
|
||||
bones/13/rotation = Quaternion(0.11572104, 0.0037949113, -0.011323974, 0.99320996)
|
||||
bones/16/rotation = Quaternion(0.10913105, -0.013618527, -0.05825219, 0.99222565)
|
||||
bones/17/rotation = Quaternion(0.1839835, -0.00011634631, 0.00759299, 0.9829)
|
||||
bones/20/rotation = Quaternion(0.29428992, 0.036763135, -0.06319124, 0.952916)
|
||||
bones/21/rotation = Quaternion(0.19389318, -0.0009122426, 0.034089025, 0.98042977)
|
||||
bones/24/rotation = Quaternion(0.23719214, 0.0015130005, -0.05232881, 0.9700513)
|
||||
bones/25/rotation = Quaternion(0.16301115, -0.0016753589, 0.0064124707, 0.986602)
|
||||
bones/32/rotation = Quaternion(-0.54132825, 0.5279593, -0.5441873, -0.36343208)
|
||||
bones/33/rotation = Quaternion(0.49516356, -0.28254545, -0.20874529, 0.794611)
|
||||
bones/34/rotation = Quaternion(0.0007105733, 0.007958211, -0.08885677, 0.9960124)
|
||||
bones/35/rotation = Quaternion(-0.19940083, 0.25536585, -0.11320268, 0.93926185)
|
||||
bones/36/rotation = Quaternion(0.10714945, 0.06486132, 0.06327172, 0.9901054)
|
||||
bones/37/rotation = Quaternion(0.033671703, -0.0022612377, 0.005809159, 0.99941355)
|
||||
bones/40/rotation = Quaternion(0.11921085, 0.007055906, 0.052995063, 0.9914285)
|
||||
bones/41/rotation = Quaternion(0.09017588, 0.00050523, -0.0031689038, 0.9959208)
|
||||
bones/44/rotation = Quaternion(0.19352928, -0.00703466, 0.033535603, 0.980496)
|
||||
bones/45/rotation = Quaternion(0.10803804, 0.0074064597, -0.035549562, 0.9934834)
|
||||
bones/48/rotation = Quaternion(0.17641634, 0.011210623, 0.033813037, 0.9836709)
|
||||
bones/49/rotation = Quaternion(0.081244655, 0.0027819287, -0.004343866, 0.9966809)
|
||||
bones/56/rotation = Quaternion(0.023963299, 0.13896492, 0.98709136, -0.07592902)
|
||||
bones/57/rotation = Quaternion(-0.16623498, -0.00079989235, -0.0048006116, 0.9860742)
|
||||
bones/58/rotation = Quaternion(0.42952615, -0.16164944, 0.041433524, 0.88750225)
|
||||
bones/59/rotation = Quaternion(0.3344413, -0.021151507, 0.01833087, 0.9420009)
|
||||
bones/61/rotation = Quaternion(-0.06011262, 0.033437554, 0.995919, -0.058428895)
|
||||
bones/62/rotation = Quaternion(-0.11042191, -0.00011304428, 0.002122978, 0.9938826)
|
||||
bones/63/rotation = Quaternion(0.49471012, 0.08229075, -0.06810121, 0.8624688)
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="SK_Mixamo/Mixamo/Skeleton3D" index="0" unique_id=1316399456]
|
||||
layers = 128
|
||||
mesh = ExtResource("1_q30x1")
|
||||
skin = ExtResource("2_5rrk6")
|
||||
skeleton = NodePath("..")
|
||||
|
||||
[node name="Physical Bone hips" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="0" unique_id=1860743939]
|
||||
transform = Transform3D(0.9937782, -0.09662614, -0.055391263, -0.05569287, -0.00042506048, -0.99844784, 0.096452616, 0.9953207, -0.005803803, -0.05551448, 1.0853629, 0.0038513746)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5904166e-05, 1.7952234e-06, 0.051956046)
|
||||
body_offset = Transform3D(1.0000001, -6.7725778e-06, 1.4709076e-07, 1.5133992e-07, -8.749636e-05, -1.0000002, 6.787479e-06, 1, -8.754432e-05, -3.59118e-05, 0.051956058, 2.7529895e-06)
|
||||
|
||||
[node name="Physical Bone spine1" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="1" unique_id=408345383]
|
||||
transform = Transform3D(0.99703705, -0.07382387, 0.021617575, 0.028800925, 0.09767003, -0.99480206, 0.071328744, 0.99247706, 0.099506825, -0.05006896, 1.2805601, -0.014138946)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.774396e-05, 1.3048638e-05, 0.04662572)
|
||||
body_offset = Transform3D(1, 0.0003511235, -2.0675361e-07, -9.080395e-08, -0.00017531961, -1.0000004, -0.0003511086, 1.0000002, -0.00017537922, -1.7738901e-05, 0.046625733, -4.865229e-06)
|
||||
|
||||
[node name="Physical Bone neck" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="2" unique_id=1535717496]
|
||||
transform = Transform3D(-0.9945854, 0.046706192, 0.09283587, -0.088870466, 0.08081231, -0.99275947, -0.053870294, -0.99563444, -0.07622394, -0.069372535, 1.5440956, -0.021342471)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.6787325e-05, -0.00019246526, 0.049544223)
|
||||
body_offset = Transform3D(-0.99999964, -6.671995e-05, -0.000889149, 0.0008311132, 0.29108077, -0.9566984, 0.00032262132, -0.95669883, -0.29108065, -1.2747943e-05, 0.047454953, 0.014237255)
|
||||
|
||||
[node name="Physical Bone head" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="3" unique_id=1485677274]
|
||||
transform = Transform3D(-0.999204, 0.038511157, 0.010413321, 0.002015395, 0.3094185, -0.95092386, -0.039843254, -0.95014584, -0.30924985, -0.07508933, 1.7045408, 0.018526671)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.984281e-06, -0.00059915707, 0.11833329)
|
||||
body_offset = Transform3D(-1.0000001, -5.7928264e-05, -2.9304065e-05, 7.841736e-07, 0.43962353, -0.8981827, 6.489828e-05, -0.89818245, -0.4396235, -5.5134296e-07, 0.10654831, 0.051483944)
|
||||
|
||||
[node name="Physical Bone arm_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="4" unique_id=774724508]
|
||||
transform = Transform3D(0.55336374, -0.79948944, -0.23367749, 0.13410552, -0.19137038, 0.9723132, -0.8220732, -0.56938034, 0.0013185183, 0.13083021, 1.2856593, -0.032589346)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00010087741, 0.0052500037, 0.14489613)
|
||||
body_offset = Transform3D(0.9999218, 0.012489021, -0.0009824246, -0.001010001, 0.0022079481, -0.99999774, -0.012486845, 0.9999201, 0.0022203063, 0.00017765164, 0.14488411, -0.0055725574)
|
||||
|
||||
[node name="Physical Bone forearm_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="5" unique_id=842109744]
|
||||
transform = Transform3D(-0.80621654, -0.57305545, -0.14704546, -0.19036245, 0.015942292, 0.9815845, -0.56015813, 0.8193615, -0.12194119, 0.19006433, 1.0136222, -0.0306693)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0025715854, 0.016925486, 0.14391209)
|
||||
body_offset = Transform3D(0.0122612715, -0.99992526, 0.00018530339, -0.0005366206, -0.00019212812, -1.0000005, 0.9999251, 0.012261242, -0.0005390644, 0.01686602, 0.14391679, -0.002701342)
|
||||
|
||||
[node name="Physical Bone hand_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="6" unique_id=570185914]
|
||||
transform = Transform3D(0.8224615, 0.56723833, -0.04240041, 0.3937558, -0.5139557, 0.76210636, 0.41050395, -0.64349854, -0.64606214, 0.20045856, 0.82956886, 0.034320503)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0027515392, -0.0017664213, 0.059115905)
|
||||
body_offset = Transform3D(-0.22248574, 0.9450608, 0.23950297, 0.0024927706, 0.24621114, -0.9692137, -0.9749334, -0.21503894, -0.057134286, -0.011876881, 0.057724, 0.005680263)
|
||||
|
||||
[node name="Physical Bone handring1_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="7" unique_id=289227335]
|
||||
transform = Transform3D(0.34860373, -0.9088432, 0.22908399, -0.2984655, 0.12404957, 0.9463245, -0.8884784, -0.3982659, -0.2280142, 0.21984424, 0.7681776, 0.040389262)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0076710996, 0.0070526474, 0.025089921)
|
||||
body_offset = Transform3D(0.99998206, 0.001893729, 0.005794272, 0.005793512, 0.0005544722, -0.99998385, -0.0018970668, 0.9999985, 0.00054350495, -0.007829696, 0.025041163, -0.007051721)
|
||||
|
||||
[node name="Physical Bone handthumb1_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="8" unique_id=373471647]
|
||||
transform = Transform3D(0.094879255, -0.9478813, 0.30416957, -0.62964183, 0.1795258, 0.75585824, -0.7710701, -0.26323316, -0.57979244, 0.16962495, 0.8504055, 0.052577876)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.01238505, -0.0018494526, 0.024488091)
|
||||
body_offset = Transform3D(0.9999264, 0.0028759837, 0.011863083, 0.01186958, -0.002222702, -0.99992764, -0.0028494745, 0.9999939, -0.0022567213, -0.012669325, 0.024335206, 0.0019399952)
|
||||
|
||||
[node name="Physical Bone arm_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="9" unique_id=1396695687]
|
||||
transform = Transform3D(0.50606304, 0.85012525, 0.14555828, -0.19213931, -0.053403802, 0.97991353, 0.8408227, -0.52386546, 0.13631679, -0.22061527, 1.2620637, -0.060669944)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.018685877, 0.0030442153, 0.1431838)
|
||||
body_offset = Transform3D(0.99993825, -0.010372788, 0.0040185153, 0.0040364936, 0.0017025471, -0.999991, 0.010365665, 0.9999448, 0.0017442033, 0.018140912, 0.14325273, -0.0031000972)
|
||||
|
||||
[node name="Physical Bone forearm_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="10" unique_id=17461685]
|
||||
transform = Transform3D(-0.85834384, 0.51042724, 0.05205699, 0.053403012, -0.012030676, 0.99850065, 0.5102882, 0.85983676, -0.016931895, -0.25389597, 0.98714954, -0.09347011)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.039249e-05, 0.0002501608, 0.14580911)
|
||||
body_offset = Transform3D(0.010620207, 0.999943, 0.0012638029, 0.00033808127, 0.0012602229, -0.99999976, -0.9999436, 0.010620356, -0.00032476522, -0.00043463707, 0.14580876, 6.508827e-05)
|
||||
|
||||
[node name="Physical Bone hand_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="11" unique_id=1629606064]
|
||||
transform = Transform3D(0.88922334, -0.355134, 0.28837782, -0.4313167, -0.4407324, 0.7872236, -0.15247242, -0.82439965, -0.5450848, -0.27361828, 0.808637, -0.06299278)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0023779424, 0.00044483924, 0.05133775)
|
||||
body_offset = Transform3D(-0.22854206, -0.94442815, -0.23627248, 0.0018606931, 0.24227172, -0.97020715, 0.9735323, -0.22217232, -0.053612363, 0.012006357, 0.04970491, 0.005166173)
|
||||
|
||||
[node name="Physical Bone handring1_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="12" unique_id=2088621090]
|
||||
transform = Transform3D(0.029276166, 0.9993374, 0.021627463, 0.2792285, -0.028951706, 0.95978814, 0.9597783, -0.022059914, -0.27989107, -0.295417, 0.747357, -0.0736915)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.068101e-05, 2.4088913e-06, 0.017609771)
|
||||
body_offset = Transform3D(0.99995667, -0.00027059764, -0.009342611, -0.00934273, 0.00040178653, -0.99995685, 0.0002742838, 0.9999998, 0.0003992119, 0.00013384223, 0.017609298, -9.447336e-06)
|
||||
|
||||
[node name="Physical Bone handthumb1_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="13" unique_id=135555111]
|
||||
transform = Transform3D(-0.1986187, 0.9797615, -0.02486274, 0.5691736, 0.13596132, 0.8108983, 0.79786724, 0.14690834, -0.5846588, -0.25345334, 0.8139766, -0.042249538)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0014283787, 1.10513665e-05, 0.02259814)
|
||||
body_offset = Transform3D(0.9999346, 0.0023916438, -0.011231631, -0.011228442, -0.0014522895, -0.9999366, -0.0024076626, 0.99999624, -0.0014252439, 0.0016820729, 0.022580683, 1.771748e-05)
|
||||
|
||||
[node name="Physical Bone upleg_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="14" unique_id=923922514]
|
||||
transform = Transform3D(-0.99579585, -0.05129463, -0.075891025, -0.08714643, 0.27531877, 0.95739496, -0.028214991, 0.95998365, -0.27863145, 0.036772594, 0.7613994, 0.0638543)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.000278073, -0.009256174, 0.21149088)
|
||||
body_offset = Transform3D(0.99999976, 4.4703484e-07, -0.0009456044, -0.0009455718, 0.00046670437, -0.9999999, -4.284084e-08, 1, 0.0004669428, -7.8082085e-05, 0.21149546, 0.009157419)
|
||||
|
||||
[node name="Physical Bone leg_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="15" unique_id=535849418]
|
||||
transform = Transform3D(-0.9965199, -0.010636592, -0.082673535, -0.081990056, -0.05367246, 0.99518687, -0.015022688, 0.998502, 0.052613575, 0.07644388, 0.3137424, 0.10453981)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0028661678, 0.0035803071, 0.22435634)
|
||||
body_offset = Transform3D(0.99991626, -0.012624778, 0.0029551238, 0.0029728748, 0.0013844781, -0.999995, 0.012620597, 0.99991953, 0.0014219284, -0.0034837276, 0.22434172, -0.0039352104)
|
||||
|
||||
[node name="Physical Bone foot_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="16" unique_id=718743270]
|
||||
transform = Transform3D(-0.9531683, 7.949591e-05, -0.30244064, -0.026195223, 0.99622035, 0.08281841, 0.30130407, 0.08686238, -0.9495635, 0.10320862, 0.04028795, 0.13123047)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00043513466, 0.04985817, 0.04070116)
|
||||
body_offset = Transform3D(0.99999845, -0.00013178587, 0.0020099878, 0.0015563667, -0.5828936, -0.8125475, 0.0012786984, 0.8125493, -0.5828922, -0.0005103722, 0.06213296, -0.016788393)
|
||||
|
||||
[node name="Physical Bone toebase_L" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="17" unique_id=224697510]
|
||||
transform = Transform3D(-0.9445295, 0.00795163, 0.3283303, 0.014333452, 0.9997524, 0.017021602, -0.32811362, 0.020783512, -0.9444096, 0.1452908, 0.03389091, 0.23631652)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.03245211, -0.031093447, 0.029969037)
|
||||
body_offset = Transform3D(0.77255785, 6.886432e-05, -0.6349452, -0.63494515, -8.6406246e-05, -0.7725578, -0.00010805717, 1.0000006, -2.3115426e-05, -0.0060402974, 0.043755442, 0.031097667)
|
||||
|
||||
[node name="Physical Bone upleg_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="18" unique_id=1622275105]
|
||||
transform = Transform3D(-0.9751611, -0.21586475, -0.049633157, -0.06530561, 0.06608306, 0.9956748, -0.21165118, 0.9741845, -0.0785388, -0.130891, 0.7447027, -0.0018863864)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.092965e-05, -8.840744e-05, 0.22673883)
|
||||
body_offset = Transform3D(0.9999999, 0.0006028712, 1.1101365e-06, 1.2144446e-06, -8.660555e-05, -1.0000001, -0.0006028861, 0.99999994, -8.6545944e-05, -9.112805e-05, 0.22673881, 0.00010808557)
|
||||
|
||||
[node name="Physical Bone leg_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="19" unique_id=1771928892]
|
||||
transform = Transform3D(-0.974692, -0.19960698, -0.10066115, -0.06922611, -0.15864956, 0.9849051, -0.21256378, 0.9669475, 0.14081644, -0.09676251, 0.30150002, -0.016631916)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00037728917, -0.00076461653, 0.23053569)
|
||||
body_offset = Transform3D(0.9999986, 0.0016539991, -1.8650666e-05, -2.6091933e-05, 0.0045284033, -0.99999017, -0.0016538799, 0.99998856, 0.004528433, -0.00037172437, 0.23053688, -0.00027873367)
|
||||
|
||||
[node name="Physical Bone foot_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="20" unique_id=928779467]
|
||||
transform = Transform3D(-0.91475195, -0.030493675, 0.40286353, -0.0028341783, 0.9976074, 0.06907586, -0.40400597, 0.062045496, -0.91264975, -0.09905729, 0.036714476, 0.007474523)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0072373e-05, 0.048926163, 0.061618242)
|
||||
body_offset = Transform3D(0.9999963, 0.002702307, 1.1652708e-05, 0.0015845299, -0.58287257, -0.8125621, -0.00218907, 0.81255937, -0.58287466, -0.0001630038, 0.07858632, -0.0038396344)
|
||||
|
||||
[node name="Physical Bone toebase_R" parent="SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(581893179, 1854161429) index="21" unique_id=535152855]
|
||||
transform = Transform3D(-0.9487055, 0.025674168, -0.31511703, 0.03479, 0.9991222, -0.02333684, 0.31424126, -0.03310271, -0.9487659, -0.1404807, 0.03453047, 0.08814509)
|
||||
collision_layer = 128
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.033251025, -0.031052781, 0.028545128)
|
||||
body_offset = Transform3D(0.75228596, -2.841279e-05, 0.6588367, 0.6588367, -6.175414e-05, -0.7522862, 6.2096864e-05, 1.0000002, -2.7798116e-05, 0.006206818, 0.043379188, 0.031055646)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1453410389]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.89956665, 0)
|
||||
shape = SubResource("CapsuleShape3D_6ql8e")
|
||||
debug_color = Color(0.39215687, 0.78431374, 0, 1)
|
||||
|
||||
[editable path="SK_Mixamo"]
|
||||
@@ -0,0 +1,287 @@
|
||||
[gd_scene format=3 uid="uid://0lx4ngfees3q"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cb4kbixfs5g4w" path="res://Assets/Mixamo.gltf" id="1_2ddk3"]
|
||||
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="1_wb1c3"]
|
||||
[ext_resource type="InputResource" uid="uid://dji2q0ekqofcx" path="res://Input/camera_movement.tres" id="2_vtyg2"]
|
||||
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="3_2ddk3"]
|
||||
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="4_baibx"]
|
||||
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="6_j3mgm"]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_g15lx"]
|
||||
script/source = "extends CharacterBody3D
|
||||
|
||||
@export var _mesh : Node3D
|
||||
@export var _animation_tree : AnimationTree
|
||||
"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_2ddk3"]
|
||||
animation = &"JogForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_baibx"]
|
||||
animation = &"RunForward"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_j3mgm"]
|
||||
animation = &"Walk"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_tx82o"]
|
||||
animation = &"StandIdle"
|
||||
|
||||
[sub_resource type="AnimationNodeBlendSpace1D" id="AnimationNodeBlendSpace1D_enbxg"]
|
||||
min_space = 0.0
|
||||
sync_mode = 2
|
||||
blend_point_0/node = SubResource("AnimationNodeAnimation_2ddk3")
|
||||
blend_point_0/pos = 0.6
|
||||
blend_point_0/name = &"JogForward"
|
||||
blend_point_1/node = SubResource("AnimationNodeAnimation_baibx")
|
||||
blend_point_1/pos = 1.0
|
||||
blend_point_1/name = &"RunForward"
|
||||
blend_point_2/node = SubResource("AnimationNodeAnimation_j3mgm")
|
||||
blend_point_2/pos = 0.3
|
||||
blend_point_2/name = &"Walk"
|
||||
blend_point_3/node = SubResource("AnimationNodeAnimation_tx82o")
|
||||
blend_point_3/pos = 0.13
|
||||
blend_point_3/name = &"StandIdle"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_vtyg2"]
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_fj36c"]
|
||||
states/walk/node = SubResource("AnimationNodeBlendSpace1D_enbxg")
|
||||
states/walk/position = Vector2(582, 120.329216)
|
||||
transitions = ["Start", "walk", SubResource("AnimationNodeStateMachineTransition_vtyg2")]
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_vtyg2"]
|
||||
script/source = "extends Node3D
|
||||
|
||||
@export var camera_input_resource : InputResource
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
InputHandler.add_input_resource(self, camera_input_resource)
|
||||
"
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_6ql8e"]
|
||||
radius = 0.2783203
|
||||
|
||||
[sub_resource type="GDScript" id="GDScript_6ql8e"]
|
||||
script/source = "extends Node
|
||||
|
||||
@export_category(\"Nodes\")
|
||||
@export var _controlled_body : CharacterBody3D
|
||||
@export var _camera_rotator_y : Node3D
|
||||
@export var _state_chart : StateChart
|
||||
@export var _animation_tree : AnimationTree
|
||||
|
||||
@export_category(\"Input Settings\")
|
||||
@export var _walk_reaction_speed : float = 1.0
|
||||
|
||||
@export_category(\"Input Resources\")
|
||||
@export var _player_movement : InputResource
|
||||
|
||||
var _target_movement_speed : float = 0.0
|
||||
var _current_movement_speed : float = 0.0
|
||||
var _root_motion_accumulator : Vector3 = Vector3.ZERO
|
||||
|
||||
signal state_changed(StringName)
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
InputHandler.add_input_resource(self, _player_movement)
|
||||
|
||||
|
||||
func _process(_delta:float) -> void:
|
||||
_current_movement_speed = lerpf(_current_movement_speed, _target_movement_speed, _delta * _walk_reaction_speed)
|
||||
_animation_tree[\"parameters/walk/blend_position\"] = _current_movement_speed
|
||||
|
||||
_root_motion_accumulator += _animation_tree.get_root_motion_position()
|
||||
|
||||
func _physics_process(_delta:float) -> void:
|
||||
_controlled_body.set_velocity(_root_motion_accumulator / _delta)
|
||||
_controlled_body.move_and_slide()
|
||||
_root_motion_accumulator = Vector3.ZERO
|
||||
|
||||
|
||||
func _on_movement_2d(_delta:float, _vector:Vector2):
|
||||
_target_movement_speed = _vector.length_squared()
|
||||
|
||||
|
||||
func _on_walking_state_entered() -> void:
|
||||
emit_signal(\"state_changed\", \"walk\")
|
||||
|
||||
func _on_walking_state_physics_processing(_delta:float) -> void:
|
||||
if !_controlled_body.is_on_floor():
|
||||
_state_chart.call(\"send_event\", \"fall\")
|
||||
"
|
||||
|
||||
[node name="CharacterBody3D" type="CharacterBody3D" unique_id=513899147 node_paths=PackedStringArray("_mesh", "_animation_tree")]
|
||||
script = SubResource("GDScript_g15lx")
|
||||
_mesh = NodePath("Mixamo")
|
||||
_animation_tree = NodePath("AnimationTree")
|
||||
|
||||
[node name="Mixamo" parent="." unique_id=864303276 instance=ExtResource("1_2ddk3")]
|
||||
|
||||
[node name="Skeleton3D" parent="Mixamo/Armature" parent_id_path=PackedInt32Array(864303276, 440462832) index="0" unique_id=1320078933]
|
||||
bones/1/position = Vector3(0.04870448, 1.032008, 0.028295368)
|
||||
bones/1/rotation = Quaternion(0.0038603812, -0.042781625, -0.02686718, 0.9987157)
|
||||
bones/2/rotation = Quaternion(-0.07096221, 0.004199123, 0.015538491, 0.9973492)
|
||||
bones/3/rotation = Quaternion(0.018365402, 0.006404549, 0.027779015, 0.99942493)
|
||||
bones/4/rotation = Quaternion(0.03124219, 0.0067619453, 0.02769415, 0.99910533)
|
||||
bones/5/rotation = Quaternion(-0.09391238, 0.0024459476, 0.00025220038, 0.9955775)
|
||||
bones/6/position = Vector3(-9.210181e-09, 0.09341891, 0.028410409)
|
||||
bones/6/rotation = Quaternion(0.030966053, 0.013115423, -0.040265556, 0.99862295)
|
||||
bones/8/rotation = Quaternion(0.5692528, 0.50322324, -0.53913254, 0.36339208)
|
||||
bones/9/rotation = Quaternion(0.5071702, 0.2261647, 0.19236062, 0.80908924)
|
||||
bones/10/rotation = Quaternion(0.0002893699, -0.002175361, 0.13162343, 0.99129736)
|
||||
bones/11/rotation = Quaternion(-0.11637703, -0.15321882, 0.118520975, 0.97413206)
|
||||
bones/12/position = Vector3(-0.022598628, 0.0910931, 0.0051802346)
|
||||
bones/12/rotation = Quaternion(0.12757003, -0.06862957, -0.09849325, 0.984538)
|
||||
bones/13/rotation = Quaternion(0.11326781, 0.0038000888, -0.01111646, 0.9934951)
|
||||
bones/14/rotation = Quaternion(2.2009235e-06, -1.6751927e-07, -6.63283e-05, 1)
|
||||
bones/16/position = Vector3(-3.8366372e-07, 0.09533401, -4.4685564e-07)
|
||||
bones/16/rotation = Quaternion(0.09561433, -0.0127436975, -0.059153922, 0.99357754)
|
||||
bones/17/rotation = Quaternion(0.14413114, -2.6676324e-05, 0.0054576104, 0.98954356)
|
||||
bones/18/rotation = Quaternion(-4.040993e-06, -1.6275888e-07, 2.0526211e-05, 1)
|
||||
bones/20/position = Vector3(0.03806265, 0.08077777, 0.004868677)
|
||||
bones/20/rotation = Quaternion(0.2557746, 0.040497564, -0.06891092, 0.9634265)
|
||||
bones/21/rotation = Quaternion(0.15475252, -0.0008494721, 0.026853941, 0.98758787)
|
||||
bones/22/rotation = Quaternion(8.52236e-06, 5.516414e-07, -6.652472e-05, 1)
|
||||
bones/24/position = Vector3(0.01865083, 0.09104527, 0.0004301249)
|
||||
bones/24/rotation = Quaternion(0.19702755, 0.004634122, -0.056227524, 0.9787733)
|
||||
bones/25/rotation = Quaternion(0.12224227, -0.0012653368, 0.0022697877, 0.9924969)
|
||||
bones/26/rotation = Quaternion(-4.033557e-06, -2.9809286e-07, -6.354228e-07, 1)
|
||||
bones/28/position = Vector3(-0.026817447, 0.02466187, 0.015762206)
|
||||
bones/28/rotation = Quaternion(0.21899925, -0.11900992, 0.12523858, 0.96030796)
|
||||
bones/29/rotation = Quaternion(-0.05057509, 0.017804269, -0.10103139, 0.99343747)
|
||||
bones/30/rotation = Quaternion(-0.0015304416, 0.0007451259, -0.006073877, 0.99998015)
|
||||
bones/32/rotation = Quaternion(-0.5434131, 0.52665854, -0.54123205, -0.3666074)
|
||||
bones/33/rotation = Quaternion(0.49145934, -0.29928944, -0.17875111, 0.79808617)
|
||||
bones/34/position = Vector3(-9.903693e-08, 0.27841544, -1.116235e-07)
|
||||
bones/34/rotation = Quaternion(0.0002243128, 0.0015434523, -0.143857, 0.9895973)
|
||||
bones/35/position = Vector3(1.6371088e-07, 0.28328842, 1.3556392e-07)
|
||||
bones/35/rotation = Quaternion(-0.20313145, 0.2536574, -0.08786419, 0.9416345)
|
||||
bones/36/position = Vector3(0.022598363, 0.09108294, 0.005178664)
|
||||
bones/36/rotation = Quaternion(0.0982438, 0.060115937, 0.06501357, 0.9912152)
|
||||
bones/37/rotation = Quaternion(0.024330059, -0.0058166035, 0.0073140506, 0.9996603)
|
||||
bones/38/rotation = Quaternion(1.0574793e-05, -1.8729077e-07, -8.8072324e-05, 1)
|
||||
bones/40/position = Vector3(-2.4792166e-07, 0.095325135, 4.594313e-07)
|
||||
bones/40/rotation = Quaternion(0.11668334, 0.00690057, 0.053179618, 0.9917204)
|
||||
bones/41/rotation = Quaternion(0.08763589, 0.0004980627, -0.0029992005, 0.99614793)
|
||||
bones/42/rotation = Quaternion(2.0195055e-06, -1.5769648e-07, -0.00032192204, 0.99999994)
|
||||
bones/44/position = Vector3(-0.038062826, 0.08076688, 0.0048670825)
|
||||
bones/44/rotation = Quaternion(0.19296765, -0.0071753766, 0.033997346, 0.98058975)
|
||||
bones/45/rotation = Quaternion(0.10743011, 0.0074210684, -0.0354787, 0.99355173)
|
||||
bones/46/rotation = Quaternion(5.616749e-06, -2.462882e-07, -0.0004968697, 0.9999999)
|
||||
bones/48/position = Vector3(-0.018651353, 0.09103608, 0.00043070197)
|
||||
bones/48/rotation = Quaternion(0.17583169, 0.011183629, 0.033857506, 0.98377424)
|
||||
bones/49/rotation = Quaternion(0.080434814, 0.00278104, -0.004288758, 0.99674684)
|
||||
bones/50/rotation = Quaternion(2.066391e-06, -8.3535085e-08, -0.00011254099, 1)
|
||||
bones/52/position = Vector3(0.02681857, 0.02464834, 0.01573964)
|
||||
bones/52/rotation = Quaternion(0.20387587, 0.15056956, -0.11117494, 0.960939)
|
||||
bones/53/position = Vector3(3.5733688e-08, 0.041889846, -3.7099937e-08)
|
||||
bones/53/rotation = Quaternion(-0.041160505, -0.009343234, 0.13904583, 0.9893861)
|
||||
bones/54/position = Vector3(2.8207126e-10, 0.034163237, 1.5927924e-08)
|
||||
bones/54/rotation = Quaternion(-0.0016655411, -0.00080757204, 0.0069194976, 0.9999744)
|
||||
bones/56/rotation = Quaternion(0.023338497, 0.13932115, 0.98709935, -0.07536546)
|
||||
bones/57/rotation = Quaternion(-0.16320044, -0.00086023705, -0.004683052, 0.9865815)
|
||||
bones/58/rotation = Quaternion(0.42804745, -0.15841259, 0.038895346, 0.8889139)
|
||||
bones/59/rotation = Quaternion(0.33653727, -0.024077026, 0.023762424, 0.94106245)
|
||||
bones/61/rotation = Quaternion(-0.06063849, 0.031957228, 0.995892, -0.05916911)
|
||||
bones/62/rotation = Quaternion(-0.10745853, -0.00017616706, 0.0019304121, 0.9942077)
|
||||
bones/63/rotation = Quaternion(0.49414507, 0.08582836, -0.07049879, 0.8622553)
|
||||
bones/64/rotation = Quaternion(0.35782322, -0.007803631, 0.006070163, 0.933737)
|
||||
|
||||
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=756651854]
|
||||
root_node = NodePath("../Mixamo")
|
||||
root_motion_track = NodePath("Armature/Skeleton3D:root")
|
||||
tree_root = SubResource("AnimationNodeStateMachine_fj36c")
|
||||
anim_player = NodePath("../Mixamo/AnimationPlayer")
|
||||
parameters/walk/blend_position = 0.0
|
||||
|
||||
[node name="CameraGimbalY" type="Node3D" parent="." unique_id=635211592]
|
||||
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 1, 0)
|
||||
script = SubResource("GDScript_vtyg2")
|
||||
camera_input_resource = ExtResource("2_vtyg2")
|
||||
|
||||
[node name="CameraGimbalX" type="Node3D" parent="CameraGimbalY" unique_id=1955443837]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.75, 0, 0)
|
||||
|
||||
[node name="SpringArm3D" type="SpringArm3D" parent="CameraGimbalY/CameraGimbalX" unique_id=627807718]
|
||||
spring_length = 2.0
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="CameraGimbalY/CameraGimbalX/SpringArm3D" unique_id=1672233531]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1453410389]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
shape = SubResource("CapsuleShape3D_6ql8e")
|
||||
|
||||
[node name="MovementHandler" type="Node" parent="." unique_id=886399808]
|
||||
script = SubResource("GDScript_6ql8e")
|
||||
|
||||
[node name="StandardMovementChart" type="Node" parent="MovementHandler" unique_id=1972958997]
|
||||
script = ExtResource("1_wb1c3")
|
||||
metadata/_custom_type_script = "uid://couw105c3bde4"
|
||||
|
||||
[node name="Movement" type="Node" parent="MovementHandler/StandardMovementChart" unique_id=2027419101]
|
||||
script = ExtResource("3_2ddk3")
|
||||
initial_state = NodePath("Walking")
|
||||
|
||||
[node name="Walking" type="Node" parent="MovementHandler/StandardMovementChart/Movement" unique_id=262207346]
|
||||
script = ExtResource("4_baibx")
|
||||
|
||||
[node name="OnFall" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Walking" unique_id=102593780]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../Airborne/Falling")
|
||||
event = &"fall"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="OnJump" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Walking" unique_id=1120626685]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../Airborne/Jumping")
|
||||
event = &"jump"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Airborne" type="Node" parent="MovementHandler/StandardMovementChart/Movement" unique_id=1974316951]
|
||||
script = ExtResource("3_2ddk3")
|
||||
initial_state = NodePath("CoyoteTime")
|
||||
|
||||
[node name="OnStopFalling" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne" unique_id=1177188765]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../Walking")
|
||||
event = &"stop_falling"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="CoyoteTime" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne" unique_id=888564579]
|
||||
script = ExtResource("4_baibx")
|
||||
|
||||
[node name="OnCoyoteTimeJump" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne/CoyoteTime" unique_id=1777355782]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../Jumping")
|
||||
event = &"jump"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="OnCoyoteTimeExpired" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne/CoyoteTime" unique_id=1678963496]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../Falling")
|
||||
delay_in_seconds = "0.125"
|
||||
|
||||
[node name="Jumping" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne" unique_id=727713155]
|
||||
script = ExtResource("4_baibx")
|
||||
|
||||
[node name="OnStopJumping" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne/Jumping" unique_id=728514621]
|
||||
script = ExtResource("6_j3mgm")
|
||||
to = NodePath("../../CancelJump")
|
||||
event = &"stop_jumping"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="CancelJump" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne" unique_id=1518229692]
|
||||
script = ExtResource("4_baibx")
|
||||
|
||||
[node name="Falling" type="Node" parent="MovementHandler/StandardMovementChart/Movement/Airborne" unique_id=1731269645]
|
||||
script = ExtResource("4_baibx")
|
||||
|
||||
[node name="RootMotionView" type="RootMotionView" parent="." unique_id=345459633]
|
||||
animation_path = NodePath("../AnimationTree")
|
||||
|
||||
[connection signal="state_processing" from="MovementHandler/StandardMovementChart/Movement/Walking" to="." method="_on_walking_state_processing"]
|
||||
|
||||
[editable path="Mixamo"]
|
||||
@@ -0,0 +1,641 @@
|
||||
[gd_scene format=3 uid="uid://gww8eh64wivh"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ctnpqtyc515fl" path="res://Assets/Visuals/Meshes/SK_Mixamo.gltf" id="1_qa653"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://0ld7i4obtkc0" path="res://Assets/Animations/AL_Protagonist.gltf" id="3_2iuii"]
|
||||
[ext_resource type="AnimationNodeStateMachine" uid="uid://bpig32x87krbb" path="res://Assets/Animations/AN_PlayerStateMachine.tres" id="4_amoep"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4y3nc"]
|
||||
radius = 0.15429688
|
||||
height = 0.42913818
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yr836"]
|
||||
radius = 0.13769531
|
||||
height = 0.36584473
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_q30x1"]
|
||||
radius = 0.057128906
|
||||
height = 0.14135742
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_k0htq"]
|
||||
radius = 0.099609375
|
||||
height = 0.2748413
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_icpjv"]
|
||||
radius = 0.040039063
|
||||
height = 0.4155441
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4me46"]
|
||||
radius = 0.04345703
|
||||
height = 0.32166594
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_dfatx"]
|
||||
size = Vector3(0.04650879, 0.09484863, 0.08987427)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_spxym"]
|
||||
size = Vector3(0.074409485, 0.10257435, 0.03265381)
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_x0dm7"]
|
||||
radius = 0.01171875
|
||||
height = 0.11545293
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_i24lk"]
|
||||
radius = 0.080078125
|
||||
height = 0.4823442
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wjtln"]
|
||||
radius = 0.05078125
|
||||
height = 0.44527814
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5rrk6"]
|
||||
radius = 0.047851563
|
||||
height = 0.1706543
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5x108"]
|
||||
radius = 0.03955078
|
||||
height = 0.093193054
|
||||
|
||||
[node name="SK_Mixamo" unique_id=581893179 node_paths=PackedStringArray("skeleton", "physical_bone_simulator", "animation_player", "animation_tree") instance=ExtResource("1_qa653")]
|
||||
skeleton = NodePath("Mixamo/Skeleton3D")
|
||||
physical_bone_simulator = NodePath("Mixamo/Skeleton3D/MixamoBoneSimulator3D")
|
||||
animation_player = NodePath("AnimationPlayer")
|
||||
animation_tree = NodePath("AnimationTree")
|
||||
|
||||
[node name="Skeleton3D" parent="Mixamo" parent_id_path=PackedInt32Array(2043084189) index="0" unique_id=2131179153]
|
||||
bones/0/position = Vector3(0, 0, 0.089654654)
|
||||
bones/0/rotation = Quaternion(-0.7071068, 0, 0, 0.7071068)
|
||||
bones/1/position = Vector3(-0.058356885, 0.08609957, 1.0334855)
|
||||
bones/1/rotation = Quaternion(0.70827806, -0.011882236, -0.050825756, 0.70400125)
|
||||
bones/1/scale = Vector3(1, 0.9999999, 1)
|
||||
bones/2/position = Vector3(-8.851741e-09, 0.10182453, -3.216421e-08)
|
||||
bones/2/rotation = Quaternion(-0.0706043, 0.0039044, 0.015635658, 0.9973743)
|
||||
bones/2/scale = Vector3(1, 0.99999976, 0.9999999)
|
||||
bones/3/position = Vector3(-1.8627124e-09, 0.100026615, -2.2584533e-08)
|
||||
bones/3/rotation = Quaternion(0.019132715, 0.0056028906, 0.027869973, 0.9994127)
|
||||
bones/3/scale = Vector3(1, 1, 0.9999999)
|
||||
bones/4/position = Vector3(3.2596357e-09, 0.09322082, 1.3968298e-09)
|
||||
bones/4/rotation = Quaternion(0.032009292, 0.0059615383, 0.027795447, 0.9990833)
|
||||
bones/5/position = Vector3(-1.8585224e-09, 0.16865371, 1.0593786e-08)
|
||||
bones/5/rotation = Quaternion(-0.092983015, 0.001831378, 0.0015760821, 0.99566483)
|
||||
bones/5/scale = Vector3(1, 1.0000001, 1)
|
||||
bones/6/position = Vector3(-8.759086e-09, 0.0934192, 0.028410407)
|
||||
bones/6/rotation = Quaternion(0.033261772, 0.013710954, -0.041667406, 0.99848366)
|
||||
bones/6/scale = Vector3(0.9999999, 0.99999976, 0.99999994)
|
||||
bones/7/position = Vector3(1.2563641e-08, 0.20962809, 0.10122937)
|
||||
bones/7/rotation = Quaternion(-2.984052e-08, -1.0914136e-10, -2.912814e-11, 1)
|
||||
bones/8/position = Vector3(0.045704566, 0.1119572, -0.008066172)
|
||||
bones/8/rotation = Quaternion(0.56936437, 0.50313056, -0.53909445, 0.36340207)
|
||||
bones/8/scale = Vector3(1.0000001, 0.99999964, 0.99999994)
|
||||
bones/9/position = Vector3(2.3326656e-09, 0.108377084, -1.3097345e-07)
|
||||
bones/9/rotation = Quaternion(0.5086203, 0.21987213, 0.20160195, 0.80766225)
|
||||
bones/10/position = Vector3(2.8767662e-09, 0.27841523, -2.7621638e-08)
|
||||
bones/10/rotation = Quaternion(0.0004018579, -0.0034846996, 0.114413485, 0.99342704)
|
||||
bones/10/scale = Vector3(0.99999976, 1, 0.99999994)
|
||||
bones/11/position = Vector3(0.0004846491, 0.28328794, -4.555781e-08)
|
||||
bones/11/rotation = Quaternion(-0.11359247, -0.15149562, 0.12645017, 0.9737332)
|
||||
bones/11/scale = Vector3(0.99999994, 0.9999999, 0.99999994)
|
||||
bones/12/position = Vector3(-0.022598557, 0.09109313, 0.005180251)
|
||||
bones/12/rotation = Quaternion(0.13633189, -0.0689593, -0.098475955, 0.98334163)
|
||||
bones/12/scale = Vector3(0.9999999, 1, 1)
|
||||
bones/13/position = Vector3(2.5079752e-08, 0.03699996, -8.099823e-09)
|
||||
bones/13/rotation = Quaternion(0.118278876, 0.0037897867, -0.011542369, 0.99290615)
|
||||
bones/14/position = Vector3(2.8853058e-09, 0.028500019, -4.9475943e-09)
|
||||
bones/14/rotation = Quaternion(2.209309e-06, -1.7543584e-07, -6.632458e-05, 1)
|
||||
bones/14/scale = Vector3(0.99999994, 0.99999994, 1)
|
||||
bones/15/position = Vector3(4.804211e-09, 0.027748553, -1.678536e-08)
|
||||
bones/15/rotation = Quaternion(-4.3009936e-06, -0.00037743096, -1.308786e-05, 0.99999994)
|
||||
bones/15/scale = Vector3(0.99999994, 1.0000001, 1)
|
||||
bones/16/position = Vector3(-3.3538615e-07, 0.095333986, -5.288766e-07)
|
||||
bones/16/rotation = Quaternion(0.102159455, -0.01316724, -0.058715556, 0.9929464)
|
||||
bones/16/scale = Vector3(1, 0.9999999, 0.9999998)
|
||||
bones/17/position = Vector3(-3.6724927e-08, 0.036999904, 4.158509e-09)
|
||||
bones/17/rotation = Quaternion(0.16579874, -7.543099e-05, 0.0066181654, 0.9861375)
|
||||
bones/17/scale = Vector3(0.9999998, 0.99999994, 0.9999998)
|
||||
bones/18/position = Vector3(1.4748911e-08, 0.029499862, 2.3302274e-08)
|
||||
bones/18/rotation = Quaternion(-4.0414616e-06, -1.7300357e-07, 2.0513638e-05, 1)
|
||||
bones/19/position = Vector3(5.7923897e-09, 0.029528666, -4.4255257e-09)
|
||||
bones/19/rotation = Quaternion(3.4740694e-08, -0.0010240097, 2.80101e-05, 0.99999946)
|
||||
bones/20/position = Vector3(0.038062677, 0.08077782, 0.0048686024)
|
||||
bones/20/rotation = Quaternion(0.2678809, 0.039309096, -0.06715509, 0.9603046)
|
||||
bones/20/scale = Vector3(0.99999994, 1, 0.99999994)
|
||||
bones/21/position = Vector3(-1.4533223e-08, 0.035999842, -1.5745405e-09)
|
||||
bones/21/rotation = Quaternion(0.16704337, -0.0008688615, 0.029125536, 0.985519)
|
||||
bones/21/scale = Vector3(0.99999994, 1, 0.99999994)
|
||||
bones/22/position = Vector3(2.1203656e-08, 0.02100018, 4.670035e-09)
|
||||
bones/22/rotation = Quaternion(8.52609e-06, 5.441907e-07, -6.6517154e-05, 1)
|
||||
bones/23/position = Vector3(1.6791612e-08, 0.021255227, 4.8809667e-09)
|
||||
bones/23/rotation = Quaternion(-3.0333463e-06, -0.00078399794, -0.00029599818, 0.9999997)
|
||||
bones/24/position = Vector3(0.018650882, 0.09104536, 0.00043010572)
|
||||
bones/24/rotation = Quaternion(0.2129237, 0.0033998417, -0.054704838, 0.9755303)
|
||||
bones/24/scale = Vector3(1, 0.99999994, 1)
|
||||
bones/25/position = Vector3(3.2392194e-08, 0.031500116, 4.7919713e-09)
|
||||
bones/25/rotation = Quaternion(0.13834296, -0.0014271789, 0.0039039627, 0.99037576)
|
||||
bones/25/scale = Vector3(1, 0.99999994, 0.99999994)
|
||||
bones/26/position = Vector3(-1.604688e-08, 0.029499907, -8.841251e-09)
|
||||
bones/26/rotation = Quaternion(-4.024244e-06, -2.878483e-07, -6.4287235e-07, 1)
|
||||
bones/27/position = Vector3(-2.0126244e-07, 0.026443137, 1.15744406e-07)
|
||||
bones/27/rotation = Quaternion(-1.371295e-08, 0.0004936792, 1.6481032e-05, 0.9999999)
|
||||
bones/27/scale = Vector3(1.0000001, 1, 1.0000001)
|
||||
bones/28/position = Vector3(-0.02681732, 0.024661893, 0.015762126)
|
||||
bones/28/rotation = Quaternion(0.21899924, -0.11900992, 0.12523855, 0.96030796)
|
||||
bones/28/scale = Vector3(0.99999976, 0.99999994, 0.99999994)
|
||||
bones/29/position = Vector3(-4.020662e-08, 0.04187089, 2.5504505e-08)
|
||||
bones/29/rotation = Quaternion(-0.050575048, 0.017804306, -0.101031415, 0.99343747)
|
||||
bones/29/scale = Vector3(0.9999999, 1, 0.9999998)
|
||||
bones/30/position = Vector3(-7.467925e-09, 0.034183923, 1.3375953e-08)
|
||||
bones/30/rotation = Quaternion(-0.0015304143, 0.0007450988, -0.0060738944, 0.99998015)
|
||||
bones/30/scale = Vector3(0.99999994, 0.9999999, 0.9999998)
|
||||
bones/31/position = Vector3(-8.882289e-09, 0.025805749, -2.1536582e-07)
|
||||
bones/31/rotation = Quaternion(0.005151135, 0.12268276, 0.04165192, 0.99155813)
|
||||
bones/31/scale = Vector3(0.9999999, 1, 0.99999994)
|
||||
bones/32/position = Vector3(-0.045699682, 0.11195878, -0.0080661625)
|
||||
bones/32/rotation = Quaternion(-0.5414151, 0.5280325, -0.5432375, -0.36461535)
|
||||
bones/32/scale = Vector3(1.0000001, 1.0000001, 1.0000001)
|
||||
bones/33/position = Vector3(-5.806066e-09, 0.10838179, 2.3255842e-07)
|
||||
bones/33/rotation = Quaternion(0.49030128, -0.29571646, -0.18937509, 0.7976802)
|
||||
bones/33/scale = Vector3(0.99999994, 0.99999976, 1)
|
||||
bones/34/position = Vector3(1.0226071e-07, 0.27841496, 2.203814e-08)
|
||||
bones/34/rotation = Quaternion(0.00045989576, 0.0034897993, -0.13050589, 0.99144137)
|
||||
bones/34/scale = Vector3(0.99999994, 1, 0.9999999)
|
||||
bones/35/position = Vector3(-0.00048504368, 0.28328815, -5.073527e-07)
|
||||
bones/35/rotation = Quaternion(-0.20532167, 0.2559044, -0.09014803, 0.94033474)
|
||||
bones/35/scale = Vector3(0.99999994, 0.99999994, 1)
|
||||
bones/36/position = Vector3(0.022598365, 0.09108285, 0.005178636)
|
||||
bones/36/rotation = Quaternion(0.10048524, 0.062368862, 0.06452696, 0.99088305)
|
||||
bones/36/scale = Vector3(0.9999999, 1, 1)
|
||||
bones/37/position = Vector3(2.2089692e-08, 0.036999907, -3.535067e-08)
|
||||
bones/37/rotation = Quaternion(0.026766011, -0.0046567186, 0.0067873076, 0.9996079)
|
||||
bones/37/scale = Vector3(1, 0.9999999, 1)
|
||||
bones/38/position = Vector3(-1.6874497e-09, 0.028500082, -1.8520076e-08)
|
||||
bones/38/rotation = Quaternion(1.057526e-05, -1.8717313e-07, -8.806781e-05, 1)
|
||||
bones/38/scale = Vector3(0.99999994, 1, 0.99999994)
|
||||
bones/39/position = Vector3(-1.9227809e-08, 0.027721822, -1.2968293e-08)
|
||||
bones/39/rotation = Quaternion(-4.386794e-06, 0.0010028135, 8.707248e-05, 0.9999996)
|
||||
bones/40/position = Vector3(-2.4610125e-07, 0.09532506, 4.9284534e-07)
|
||||
bones/40/rotation = Quaternion(0.11829842, 0.006999768, 0.053061735, 0.99153465)
|
||||
bones/40/scale = Vector3(1, 1, 0.99999994)
|
||||
bones/41/position = Vector3(-1.0900695e-08, 0.037000187, -2.0208134e-08)
|
||||
bones/41/rotation = Quaternion(0.08925901, 0.0005026954, -0.0031076893, 0.9960035)
|
||||
bones/42/position = Vector3(1.5653953e-08, 0.029499857, -5.169632e-09)
|
||||
bones/42/rotation = Quaternion(2.0190398e-06, -1.5815719e-07, -0.00032192675, 0.99999994)
|
||||
bones/42/scale = Vector3(1, 1, 1)
|
||||
bones/43/position = Vector3(1.9108832e-09, 0.029466266, -2.712827e-08)
|
||||
bones/43/rotation = Quaternion(-4.1979756e-06, 0.0009290359, 0.00016655988, 0.99999964)
|
||||
bones/44/position = Vector3(-0.038062833, 0.080766805, 0.0048670806)
|
||||
bones/44/rotation = Quaternion(0.19326307, -0.007094818, 0.033721592, 0.98054165)
|
||||
bones/44/scale = Vector3(1, 1.0000001, 0.99999994)
|
||||
bones/45/position = Vector3(1.23004265e-08, 0.036000095, -2.9337698e-08)
|
||||
bones/45/rotation = Quaternion(0.107637, 0.0074160947, -0.035502825, 0.99352854)
|
||||
bones/45/scale = Vector3(0.99999994, 1, 1)
|
||||
bones/46/position = Vector3(8.506417e-09, 0.020999825, 9.331586e-09)
|
||||
bones/46/rotation = Quaternion(5.6120934e-06, -2.444159e-07, -0.00049687136, 0.9999999)
|
||||
bones/46/scale = Vector3(1, 0.99999994, 1)
|
||||
bones/47/position = Vector3(-1.4560314e-08, 0.021157794, -4.0995666e-08)
|
||||
bones/47/rotation = Quaternion(-5.5761384e-06, 0.0015697555, -4.1196545e-05, 0.99999887)
|
||||
bones/47/scale = Vector3(1, 1, 1)
|
||||
bones/48/position = Vector3(-0.018651364, 0.091035984, 0.00043079563)
|
||||
bones/48/rotation = Quaternion(0.17603065, 0.011192819, 0.033842362, 0.98373914)
|
||||
bones/48/scale = Vector3(1, 1, 0.99999994)
|
||||
bones/49/position = Vector3(3.7825625e-08, 0.033792708, -5.9618177e-10)
|
||||
bones/49/rotation = Quaternion(0.08095548, 0.0027816559, -0.004324184, 0.99670446)
|
||||
bones/49/scale = Vector3(0.9999999, 0.99999994, 0.9999999)
|
||||
bones/50/position = Vector3(-2.9921832e-08, 0.028896859, -3.759542e-08)
|
||||
bones/50/rotation = Quaternion(2.0668563e-06, -8.539611e-08, -0.00011253588, 1)
|
||||
bones/50/scale = Vector3(1, 0.99999994, 1)
|
||||
bones/51/position = Vector3(2.7525138e-08, 0.026388101, 4.3984073e-08)
|
||||
bones/51/rotation = Quaternion(1.1578191e-07, 0.0001460285, -0.00079960865, 0.99999976)
|
||||
bones/51/scale = Vector3(1, 0.99999994, 0.99999994)
|
||||
bones/52/position = Vector3(0.026818532, 0.024648223, 0.015739707)
|
||||
bones/52/rotation = Quaternion(0.20387587, 0.15056951, -0.11117495, 0.9609389)
|
||||
bones/52/scale = Vector3(0.9999999, 0.9999999, 0.99999994)
|
||||
bones/53/position = Vector3(-5.0060308e-08, 0.041889705, -2.6695133e-08)
|
||||
bones/53/rotation = Quaternion(-0.04116048, -0.009343226, 0.13904576, 0.9893861)
|
||||
bones/53/scale = Vector3(0.99999994, 0.99999994, 0.9999999)
|
||||
bones/54/position = Vector3(2.9542079e-08, 0.034163117, 1.8592061e-08)
|
||||
bones/54/rotation = Quaternion(-0.0016655417, -0.0008075824, 0.0069194944, 0.9999744)
|
||||
bones/54/scale = Vector3(0.99999994, 1.0000002, 1.0000001)
|
||||
bones/55/position = Vector3(5.9485714e-09, 0.025749868, -2.5553248e-09)
|
||||
bones/55/rotation = Quaternion(0.0057759075, -0.117509745, -0.04874413, 0.991858)
|
||||
bones/55/scale = Vector3(1.0000001, 1, 1)
|
||||
bones/56/position = Vector3(0.08207823, -0.06771745, -0.015122145)
|
||||
bones/56/rotation = Quaternion(0.023270022, 0.13941242, 0.98703986, -0.07599433)
|
||||
bones/56/scale = Vector3(1, 0.99999994, 1)
|
||||
bones/57/position = Vector3(-3.127315e-09, 0.4437138, -9.952956e-09)
|
||||
bones/57/rotation = Quaternion(-0.16422221, -0.0008433047, -0.004724008, 0.98641175)
|
||||
bones/57/scale = Vector3(0.99999994, 0.99999994, 0.9999999)
|
||||
bones/58/position = Vector3(6.928858e-09, 0.44527873, 3.6088863e-08)
|
||||
bones/58/rotation = Quaternion(0.4285666, -0.15917952, 0.03985268, 0.8884843)
|
||||
bones/58/scale = Vector3(0.99999994, 0.99999994, 0.9999999)
|
||||
bones/59/position = Vector3(-5.7453087e-09, 0.13816865, 6.3026095e-09)
|
||||
bones/59/rotation = Quaternion(0.33826002, -0.029324781, 0.02482122, 0.9402682)
|
||||
bones/59/scale = Vector3(0.99999994, 0.9999999, 0.9999998)
|
||||
bones/60/position = Vector3(-9.906608e-09, 0.092781335, 1.0386521e-08)
|
||||
bones/60/rotation = Quaternion(4.6417186e-09, -0.011869152, 8.255832e-09, 0.99992955)
|
||||
bones/61/position = Vector3(-0.08207754, -0.06771788, -0.015122214)
|
||||
bones/61/rotation = Quaternion(-0.060455423, 0.0319302, 0.9959162, -0.058963858)
|
||||
bones/61/scale = Vector3(1, 1, 1)
|
||||
bones/62/position = Vector3(1.5699495e-08, 0.4437147, 6.315939e-09)
|
||||
bones/62/rotation = Quaternion(-0.10711931, -0.00016611443, 0.0019243951, 0.9942444)
|
||||
bones/62/scale = Vector3(1.0000001, 0.9999998, 0.9999999)
|
||||
bones/63/position = Vector3(-2.2911077e-08, 0.4452781, -2.2307956e-08)
|
||||
bones/63/rotation = Quaternion(0.49397734, 0.084912054, -0.06979252, 0.86249954)
|
||||
bones/63/scale = Vector3(0.99999994, 1, 1)
|
||||
bones/64/position = Vector3(-1.7111994e-08, 0.13816942, 5.996891e-07)
|
||||
bones/64/rotation = Quaternion(0.3578233, -0.007803632, 0.006070155, 0.93373704)
|
||||
bones/64/scale = Vector3(1, 0.9999999, 1.0000001)
|
||||
bones/65/position = Vector3(-1.2513741e-09, 0.0927812, 1.4142361e-09)
|
||||
bones/65/rotation = Quaternion(-2.2726141e-08, 0.011608129, 7.0807347e-09, 0.99993265)
|
||||
bones/65/scale = Vector3(0.99999994, 0.99999994, 1)
|
||||
|
||||
[node name="MixamoBoneSimulator3D" type="PhysicalBoneSimulator3D" parent="Mixamo/Skeleton3D" index="0" unique_id=1854161429]
|
||||
|
||||
[node name="Physical Bone hips" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="0" unique_id=1860743939]
|
||||
transform = Transform3D(0.9945506, -0.08873848, -0.0547233, -0.05526736, -0.0036838425, -0.9984648, 0.088400654, 0.99604815, -0.008568109, -0.055549804, 1.0853395, 0.0039952276)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5138168e-05, 1.7115169e-06, 0.05193173)
|
||||
body_offset = Transform3D(1, -6.042421e-06, -2.3515895e-08, -2.0430889e-08, -8.63336e-05, -1.0000001, 6.0349703e-06, 0.9999999, -8.6349435e-05, -3.5136938e-05, 0.05193174, 2.7725473e-06)
|
||||
bone_name = "hips"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone hips" index="0" unique_id=1851287103]
|
||||
transform = Transform3D(1.0000015, 1.3253884e-07, 8.195639e-08, -2.0861626e-07, -8.8475645e-09, 1.0000073, 2.0771404e-07, -1.0000024, -4.4703484e-08, 0.0014547829, -0.00090056844, 0.010923147)
|
||||
shape = SubResource("CapsuleShape3D_4y3nc")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone spine1" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="1" unique_id=408345383]
|
||||
transform = Transform3D(0.9977271, -0.06326722, 0.02319415, 0.029384244, 0.09873522, -0.9946798, 0.060640547, 0.9931005, 0.10036986, -0.05037238, 1.2805384, -0.013731137)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.7483919e-05, 1.2890694e-05, 0.046579704)
|
||||
body_offset = Transform3D(1, 0.00035230815, -2.8172508e-07, -1.6577542e-07, -0.000176467, -1.0000004, -0.00035231188, 1.0000002, -0.0001764819, -1.7475337e-05, 0.04657972, -4.6640635e-06)
|
||||
bone_name = "spine1"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone spine1" index="0" unique_id=913992169]
|
||||
transform = Transform3D(1.0000017, 1.2107193e-07, 1.7881393e-07, -5.9604645e-08, -5.2154064e-08, 1.0000038, 1.4994293e-07, -1.0000049, -6.556511e-07, -0.008137435, 0.0062363, -0.050394416)
|
||||
shape = SubResource("CapsuleShape3D_yr836")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone neck" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="2" unique_id=1535717496]
|
||||
transform = Transform3D(-0.9954736, 0.03482793, 0.08842654, -0.08572888, 0.07253764, -0.9936745, -0.041021872, -0.9967574, -0.06922355, -0.06973286, 1.5440686, -0.021877749)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.9798127e-05, -0.00019098166, 0.049492158)
|
||||
body_offset = Transform3D(-0.9999996, -7.704273e-05, -0.00091949315, 0.0008571325, 0.2911258, -0.9566848, 0.00034139678, -0.956685, -0.29112568, -1.4305115e-05, 0.04740405, 0.014225751)
|
||||
bone_name = "neck"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone neck" index="0" unique_id=760729309]
|
||||
transform = Transform3D(0.9999732, -0.004666389, 0.005031716, -0.00503207, -7.019192e-05, 0.99998707, -0.004665917, -0.9999892, -9.357929e-05, -0.0035126358, -0.0067253187, -0.009511113)
|
||||
shape = SubResource("CapsuleShape3D_q30x1")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone head" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="3" unique_id=1485677274]
|
||||
transform = Transform3D(-0.9995496, 0.028767657, 0.008541576, 0.0003030381, 0.2942961, -0.9557143, -0.030007409, -0.9552813, -0.29417223, -0.07502399, 1.7050968, 0.015841976)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.51754e-06, -0.00060036033, 0.1182569)
|
||||
body_offset = Transform3D(-1.0000001, -6.3801184e-05, -3.2035634e-05, 6.724149e-07, 0.43957588, -0.8982062, 7.1398914e-05, -0.8982058, -0.4395758, -7.674098e-07, 0.10648298, 0.05144362)
|
||||
bone_name = "head"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone head" index="0" unique_id=26758776]
|
||||
transform = Transform3D(0.9997962, 0.018793106, -0.0067698136, -0.012119956, 0.84012836, 0.5422548, 0.015878238, -0.542064, 0.840188, 0.00060372986, 0.0059717596, 0.030230165)
|
||||
shape = SubResource("CapsuleShape3D_k0htq")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone arm_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="4" unique_id=774724508]
|
||||
transform = Transform3D(0.5303501, -0.8079249, -0.25687772, 0.1799864, -0.1887915, 0.96538216, -0.82845265, -0.558225, 0.04528991, 0.13355032, 1.2866251, -0.040758587)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.539022e-05, 0.005249361, 0.14487307)
|
||||
body_offset = Transform3D(0.9999229, 0.0123972595, -0.0010092556, -0.0010368638, 0.0022157636, -0.99999744, -0.012395203, 0.99992096, 0.002228478, 0.00017651916, 0.14486098, -0.0055729747)
|
||||
bone_name = "arm.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone arm_L" index="0" unique_id=1630702100]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_icpjv")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone forearm_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="5" unique_id=842109744]
|
||||
transform = Transform3D(-0.8121729, -0.5689753, -0.12900509, -0.18856005, 0.04674367, 0.9809486, -0.55210537, 0.82102513, -0.14524996, 0.19318283, 1.015128, -0.04133159)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0025783656, 0.016911104, 0.14383821)
|
||||
body_offset = Transform3D(0.012139708, -0.9999268, 0.00014780462, -0.0005467534, -0.00015445799, -1.0000004, 0.9999265, 0.012139767, -0.00054861605, 0.016857304, 0.14384228, -0.0027045608)
|
||||
bone_name = "forearm.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone forearm_L" index="0" unique_id=704093935]
|
||||
transform = Transform3D(0.9999998, 1.4901161e-08, -1.2814999e-06, 8.34465e-07, -2.5331974e-07, 1, 7.450581e-09, -1.0000008, 4.4703484e-08, 0.0023857355, 0.01821693, 0.0026687384)
|
||||
shape = SubResource("CapsuleShape3D_4me46")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone hand_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="6" unique_id=570185914]
|
||||
transform = Transform3D(0.82079667, 0.56598383, -0.077169746, 0.41040254, -0.4903404, 0.7688537, 0.39731938, -0.6627432, -0.63475096, 0.20318174, 0.8312186, 0.026277084)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0027482705, -0.0017660066, 0.059088673)
|
||||
body_offset = Transform3D(-0.22249728, 0.9450607, 0.23949155, 0.0024702996, 0.24619487, -0.9692176, -0.97493064, -0.21505678, -0.05711232, -0.011870772, 0.057697773, 0.005674273)
|
||||
bone_name = "hand.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone hand_L" index="0" unique_id=1486550316]
|
||||
transform = Transform3D(0.9155292, -0.13074967, -0.3804088, 0.40130872, 0.23217854, 0.88602734, -0.027524978, -0.96384525, 0.2650372, -0.0017858744, 0.017058343, 0.0016509295)
|
||||
shape = SubResource("BoxShape3D_dfatx")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handring1_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="7" unique_id=289227335]
|
||||
transform = Transform3D(0.3373575, -0.9292119, 0.15084773, -0.27274045, 0.056890942, 0.9604041, -0.90100086, -0.3651418, -0.23424111, 0.22556871, 0.7704531, 0.03138058)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0076699797, 0.007047633, 0.025072018)
|
||||
body_offset = Transform3D(0.99998266, 0.001863122, 0.005693823, 0.005692765, 0.0005619675, -0.99998426, -0.0018664598, 0.9999986, 0.00055140257, -0.007825732, 0.025023997, -0.0070471317)
|
||||
bone_name = "handring1.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone handring1_L" index="0" unique_id=2022616607]
|
||||
transform = Transform3D(0.9998964, 0.0094613135, -0.010845989, 0.010945201, -0.010498837, 0.999885, 0.009346411, -0.9999001, -0.010601297, -0.006785944, 0.0020319521, -0.023865044)
|
||||
shape = SubResource("BoxShape3D_spxym")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handthumb1_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="8" unique_id=373471647]
|
||||
transform = Transform3D(0.0940646, -0.95801365, 0.2708537, -0.616941, 0.1574336, 0.77110213, -0.7813678, -0.23963416, -0.57622904, 0.17223269, 0.85097945, 0.045486078)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.012378213, -0.0018507126, 0.02446238)
|
||||
body_offset = Transform3D(0.99992746, 0.0028333962, 0.011771351, 0.01177755, -0.0022075474, -0.99992883, -0.0028073639, 0.9999941, -0.0022408813, -0.012660027, 0.024310768, 0.001940269)
|
||||
bone_name = "handthumb1.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone handthumb1_L" index="0" unique_id=1221135931]
|
||||
transform = Transform3D(0.9998399, 0.0013946891, -0.017836392, 0.017872259, -0.03243348, 0.9993142, 0.00081527233, -0.99947286, -0.03245324, 0.013832271, -0.0059262067, -0.022259474)
|
||||
shape = SubResource("CapsuleShape3D_x0dm7")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone arm_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="9" unique_id=1396695687]
|
||||
transform = Transform3D(0.51189494, 0.8424361, 0.16812216, -0.23572776, -0.050444458, 0.97050905, 0.8260727, -0.53642976, 0.1727633, -0.22472048, 1.2626264, -0.06397809)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01867069, 0.003041524, 0.14308883)
|
||||
body_offset = Transform3D(0.9999405, -0.010178328, 0.003940195, 0.0039575845, 0.0016714036, -0.9999914, 0.010171592, 0.9999468, 0.0017116666, 0.01813674, 0.14315641, -0.003096372)
|
||||
bone_name = "arm.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone arm_R" index="0" unique_id=1934328562]
|
||||
transform = Transform3D(0.99999833, 2.6077032e-07, -8.34465e-07, -2.6226044e-06, 3.2782555e-07, 0.99999976, -3.874302e-07, -1.0000064, 4.4703484e-08, -0.017169505, 0.0044254363, 0.008804798)
|
||||
shape = SubResource("CapsuleShape3D_icpjv")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone forearm_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="10" unique_id=17461685]
|
||||
transform = Transform3D(-0.8460867, 0.5322528, 0.02905778, 0.050940897, 0.026473433, 0.99835074, 0.5306057, 0.8461715, -0.049512252, -0.25785846, 0.98974234, -0.09675846)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.3402288e-05, 0.00024946049, 0.14574854)
|
||||
body_offset = Transform3D(0.0104468465, 0.99994475, 0.001273334, 0.00033183582, 0.0012697391, -0.9999997, -0.9999456, 0.0104472935, -0.00031842105, -0.00043527782, 0.1457482, 6.720424e-05)
|
||||
bone_name = "forearm.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone forearm_R" index="0" unique_id=1999631555]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_4me46")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone hand_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="11" unique_id=1629606064]
|
||||
transform = Transform3D(0.8871845, -0.36549065, 0.28163847, -0.43005413, -0.4337986, 0.79175264, -0.16720381, -0.8235504, -0.5420402, -0.27405724, 0.81097907, -0.061999705)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0023846696, 0.0004473545, 0.05131392)
|
||||
body_offset = Transform3D(-0.22851744, -0.9444391, -0.23625284, 0.0018270575, 0.2422579, -0.97021085, 0.97353846, -0.2221413, -0.05363463, 0.01200062, 0.049681306, 0.0051731467)
|
||||
bone_name = "hand.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone hand_R" index="0" unique_id=14766136]
|
||||
transform = Transform3D(0.9609683, 0.057171144, 0.27068776, -0.26816073, 0.43312615, 0.86051863, -0.068044975, -0.89951897, 0.43155122, -0.0031374693, 0.01663211, -0.0018490553)
|
||||
shape = SubResource("BoxShape3D_dfatx")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handring1_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="12" unique_id=2088621090]
|
||||
transform = Transform3D(0.04136349, 0.99896216, 0.019071419, 0.2711353, -0.029594166, 0.96208626, 0.9616521, -0.034624305, -0.27207804, -0.2960274, 0.74979484, -0.07292892)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0365927e-05, 2.507948e-06, 0.017590338)
|
||||
body_offset = Transform3D(0.99995667, -0.00026646256, -0.009338409, -0.009338647, 0.00040305778, -0.999957, 0.00027016178, 1.0000001, 0.0004008105, 0.00013390183, 0.017589867, -9.5665455e-06)
|
||||
bone_name = "handring1.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone handring1_R" index="0" unique_id=2139184823]
|
||||
transform = Transform3D(0.99971086, 0.008283079, 0.022828963, -0.023740117, 0.13517958, 0.99053305, 0.005119413, -0.9907882, 0.1353357, 0.011277318, -0.0011302531, -0.02194804)
|
||||
shape = SubResource("BoxShape3D_spxym")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handthumb1_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="13" unique_id=135555111]
|
||||
transform = Transform3D(-0.18844777, 0.98155963, -0.03206665, 0.56238836, 0.13462465, 0.81584036, 0.80511296, 0.1357094, -0.57738733, -0.25364417, 0.81614083, -0.0414643)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0014305437, 7.253968e-06, 0.02258113)
|
||||
body_offset = Transform3D(0.99993634, 0.0023475215, -0.011094868, -0.011091888, -0.0014411509, -0.99993813, -0.0023631528, 0.9999965, -0.001414597, 0.0016809702, 0.022563875, 2.130866e-05)
|
||||
bone_name = "handthumb1.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone handthumb1_R" index="0" unique_id=1406112360]
|
||||
transform = Transform3D(0.9999994, -1.013279e-06, 2.986053e-07, -2.6077032e-08, 5.3143594e-08, 0.999999, -1.2814999e-06, -0.99999994, -1.435983e-07, -0.0033495314, -0.0023185015, -0.021286476)
|
||||
shape = SubResource("CapsuleShape3D_x0dm7")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone upleg_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="14" unique_id=923922514]
|
||||
transform = Transform3D(-0.995875, -0.045266055, -0.0786384, -0.08805266, 0.27291805, 0.9579992, -0.021903004, 0.9609718, -0.27577806, 0.037392195, 0.76145595, 0.062358744)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00028139693, -0.0092513, 0.2113612)
|
||||
body_offset = Transform3D(0.9999995, 6.426126e-07, -0.00097103184, -0.0009710137, 0.0006055832, -0.99999946, -6.891787e-08, 0.9999999, 0.000605613, -7.6152384e-05, 0.21136695, 0.009123296)
|
||||
bone_name = "upleg.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone upleg_L" index="0" unique_id=600319327]
|
||||
transform = Transform3D(1.0000027, 2.1141022e-07, -9.313226e-08, 1.6763806e-08, -5.066395e-07, 1.0000023, 1.3411045e-07, -1.0000007, -3.5762787e-07, -0.0047314167, -0.007822901, -0.027338386)
|
||||
shape = SubResource("CapsuleShape3D_i24lk")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone leg_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="15" unique_id=535849418]
|
||||
transform = Transform3D(-0.9965096, -0.0042802533, -0.08336876, -0.08303574, -0.051907465, 0.9951938, -0.008587142, 0.9986428, 0.051370867, 0.07778088, 0.313709, 0.10273907)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0028634325, 0.0035798363, 0.22421652)
|
||||
body_offset = Transform3D(0.99991614, -0.012625782, 0.002948918, 0.0029665453, 0.0013765544, -0.9999948, 0.012621642, 0.99991953, 0.0014137924, -0.0034791902, 0.22420192, -0.0039326847)
|
||||
linear_damp = 100.0
|
||||
angular_damp = 100.0
|
||||
bone_name = "leg.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone leg_L" index="0" unique_id=135636896]
|
||||
transform = Transform3D(1.0000004, 7.159542e-08, 1.1175871e-08, -1.1175871e-08, 7.450581e-09, 1.0000008, -2.0605512e-08, -1.0000001, 2.9802322e-08, 0.003555715, 0.0021097586, 0.00012660027)
|
||||
shape = SubResource("CapsuleShape3D_wjtln")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone foot_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="16" unique_id=718743270]
|
||||
transform = Transform3D(-0.9530373, 0.00033107537, -0.30285296, -0.026237983, 0.9961492, 0.08365636, 0.30171442, 0.08767387, -0.9493586, 0.10474242, 0.040117797, 0.12964714)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00043869263, 0.04982956, 0.040673837)
|
||||
body_offset = Transform3D(0.9999985, -9.4510615e-05, 0.0018797517, 0.0014721006, -0.5830319, -0.8124482, 0.0011726767, 0.8124497, -0.5830306, -0.0005104393, 0.06209696, -0.016770437)
|
||||
bone_name = "foot.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone foot_L" index="0" unique_id=1154544383]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_5rrk6")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone toebase_L" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="17" unique_id=224697510]
|
||||
transform = Transform3D(-0.9503012, 0.015830822, 0.31092942, 0.018141964, 0.9998251, 0.0045421137, -0.31080315, 0.0099572465, -0.9504221, 0.14779411, 0.03384785, 0.23395659)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.032427475, -0.03107366, 0.02995056)
|
||||
body_offset = Transform3D(0.77256376, 6.834208e-05, -0.63493764, -0.63493764, -8.917693e-05, -0.77256376, -0.00010937266, 1.0000005, -2.5407411e-05, -0.006033428, 0.04372537, 0.031077981)
|
||||
bone_name = "toebase.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone toebase_L" index="0" unique_id=616098296]
|
||||
transform = Transform3D(1, 0, 1.7763568e-15, -2.6645353e-15, 0, 1, 0, -1, 4.440892e-16, 8.046627e-06, -1.3783574e-07, -0.002596669)
|
||||
shape = SubResource("CapsuleShape3D_5x108")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone upleg_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="18" unique_id=1622275105]
|
||||
transform = Transform3D(-0.9765261, -0.20891938, -0.052436158, -0.0662599, 0.059723508, 0.9960134, -0.20495483, 0.9761075, -0.07216453, -0.13039725, 0.7447253, -0.0028768033)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.0127025e-05, -8.759914e-05, 0.22665168)
|
||||
body_offset = Transform3D(0.9999995, 0.0006160289, 1.2032688e-06, 1.293607e-06, -8.2202256e-05, -0.99999994, -0.0006160587, 0.9999997, -8.2187355e-05, -9.034574e-05, 0.22665167, 0.00010628253)
|
||||
bone_name = "upleg.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone upleg_R" index="0" unique_id=1714408512]
|
||||
transform = Transform3D(0.9999989, 3.1664968e-08, 2.682209e-07, -1.3411045e-07, 4.4703484e-08, 0.999999, 2.7939677e-08, -0.9999992, -1.4901161e-08, 0.00027324073, 0.0012482777, -0.010423422)
|
||||
shape = SubResource("CapsuleShape3D_i24lk")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone leg_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="19" unique_id=1771928892]
|
||||
transform = Transform3D(-0.9761055, -0.1928262, -0.10018028, -0.06981344, -0.15829943, 0.98492, -0.20577686, 0.9683798, 0.14105509, -0.09578616, 0.3015008, -0.019045347)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00036495086, -0.00075384864, 0.23039387)
|
||||
body_offset = Transform3D(0.9999982, 0.0016751289, 5.4556876e-06, -1.963228e-06, 0.004453063, -0.99999017, -0.0016751438, 0.9999888, 0.004453078, -0.00036494434, 0.23039496, -0.00027151033)
|
||||
bone_name = "leg.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone leg_R" index="0" unique_id=85244030]
|
||||
transform = Transform3D(0.99999946, -8.731149e-11, 1.1641532e-09, -2.3283064e-10, 6.7055225e-08, 0.99999833, -5.820766e-11, -0.99999946, 1.4156103e-07, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_wjtln")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone foot_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="20" unique_id=928779467]
|
||||
transform = Transform3D(-0.9151591, -0.03009469, 0.40196794, -0.00194066, 0.99752647, 0.07026491, -0.40308827, 0.063523486, -0.9129538, -0.09811687, 0.0365379, 0.004891213)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.2242844e-05, 0.048896965, 0.061589494)
|
||||
body_offset = Transform3D(0.9999962, 0.002665976, 0.00014519691, 0.0016717613, -0.58289313, -0.81254715, -0.002081737, 0.8125446, -0.58289546, -0.00016154349, 0.07854603, -0.0038306788)
|
||||
bone_name = "foot.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone foot_R" index="0" unique_id=1124161036]
|
||||
transform = Transform3D(1, 1.05854525e-07, 4.6270483e-15, 0, -4.371139e-08, 1, 1.05854525e-07, -1, -4.371139e-08, 0.0024022013, 0.010436047, 0.021283412)
|
||||
shape = SubResource("CapsuleShape3D_5rrk6")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone toebase_R" type="PhysicalBone3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D" index="21" unique_id=535152855]
|
||||
transform = Transform3D(-0.94843435, 0.02594006, -0.31591058, 0.03460643, 0.9991621, -0.021853015, 0.315079, -0.031658687, -0.9485373, -0.13946538, 0.034196246, 0.085593425)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.03322764, -0.031034851, 0.028526943)
|
||||
body_offset = Transform3D(0.7523134, -2.3377128e-05, 0.65880513, 0.65880513, -5.507469e-05, -0.7523137, 5.3962693e-05, 1.0000002, -2.611801e-05, 0.0062031746, 0.04335004, 0.031037398)
|
||||
bone_name = "toebase.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Mixamo/Skeleton3D/MixamoBoneSimulator3D/Physical Bone toebase_R" index="0" unique_id=1858415780]
|
||||
transform = Transform3D(1, 0, 1.7763568e-15, -2.6645353e-15, 0, 1, 0, -1, 4.440892e-16, 8.046627e-06, -1.3783574e-07, -0.002596669)
|
||||
shape = SubResource("CapsuleShape3D_5x108")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1" unique_id=39432334]
|
||||
libraries/AL_Protagonist = ExtResource("3_2iuii")
|
||||
|
||||
[node name="AnimationTree" type="AnimationTree" parent="." index="2" unique_id=265885601]
|
||||
root_motion_track = NodePath("Mixamo/Skeleton3D:root")
|
||||
tree_root = ExtResource("4_amoep")
|
||||
anim_player = NodePath("../AnimationPlayer")
|
||||
parameters/slice_time/slice_time_idle/TimeScale/scale = 0.0
|
||||
parameters/slice_time/slice_time_idle/slice_time_pitch/seek_request = 0.0
|
||||
parameters/slice_time/slice_time_idle/Blend2/blend_amount = 1.0
|
||||
parameters/slice_time/slice_time_idle/slice_time_angle_blend/blend_amount = 0.0
|
||||
"parameters/slice_time/slice_time_idle/TimeScale 2/scale" = 0.0
|
||||
parameters/slice_time/slice_time_idle/slice_time_angle/seek_request = 0.0
|
||||
parameters/slice_time/slice_time_swing/blend_position = Vector2(0, 0)
|
||||
parameters/walk/blend_position = -0.0035573123
|
||||
@@ -0,0 +1,10 @@
|
||||
[gd_scene format=3 uid="uid://chpf6tiw7kdgl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cbsye1i87ksvx" path="res://Assets/Classes/gameplay_camera.gd" id="1_ulir5"]
|
||||
|
||||
[node name="Camera3D" type="Camera3D" unique_id=1011005417]
|
||||
transform = Transform3D(0.99999994, 0, 0, 0, 1.0000001, 0, 0, 0, 1, 0, 0, 0)
|
||||
cull_mask = 227
|
||||
current = true
|
||||
fov = 60.0
|
||||
script = ExtResource("1_ulir5")
|
||||
@@ -0,0 +1,429 @@
|
||||
[gd_scene format=3 uid="uid://d2oguwc6016ct"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4y3nc"]
|
||||
radius = 0.15429688
|
||||
height = 0.42913818
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yr836"]
|
||||
radius = 0.13769531
|
||||
height = 0.36584473
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_q30x1"]
|
||||
radius = 0.057128906
|
||||
height = 0.14135742
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_k0htq"]
|
||||
radius = 0.099609375
|
||||
height = 0.2748413
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_icpjv"]
|
||||
radius = 0.040039063
|
||||
height = 0.4155441
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4me46"]
|
||||
radius = 0.04345703
|
||||
height = 0.32166594
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_dfatx"]
|
||||
size = Vector3(0.04650879, 0.09484863, 0.08987427)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_spxym"]
|
||||
size = Vector3(0.074409485, 0.10257435, 0.03265381)
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_x0dm7"]
|
||||
radius = 0.01171875
|
||||
height = 0.11545293
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_i24lk"]
|
||||
radius = 0.080078125
|
||||
height = 0.4823442
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_wjtln"]
|
||||
radius = 0.05078125
|
||||
height = 0.44527814
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5rrk6"]
|
||||
radius = 0.047851563
|
||||
height = 0.1706543
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_5x108"]
|
||||
radius = 0.03955078
|
||||
height = 0.093193054
|
||||
|
||||
[node name="MixamoBoneSimulator3D" type="PhysicalBoneSimulator3D" unique_id=1854161429]
|
||||
|
||||
[node name="Physical Bone hips" type="PhysicalBone3D" parent="." unique_id=1860743939]
|
||||
transform = Transform3D(1, -4.3196715e-06, 8.193694e-07, 7.6344014e-07, -0.012931716, -0.9999164, 4.329906e-06, 0.99991643, -0.012931715, -3.631566e-05, 1.0946532, 0.016212728)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.6195863e-05, 1.6221077e-06, 0.05190885)
|
||||
body_offset = Transform3D(1, -4.127459e-06, 2.2997203e-07, 2.2962212e-07, -8.47904e-05, -1, 4.1274784e-06, 1.0000001, -8.478947e-05, -3.620779e-05, 0.05190885, 2.7790666e-06)
|
||||
bone_name = "hips"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone hips" unique_id=1851287103]
|
||||
transform = Transform3D(1.0000015, 1.3253884e-07, 8.195639e-08, -2.0861626e-07, -8.8475645e-09, 1.0000073, 2.0771404e-07, -1.0000024, -4.4703484e-08, 0.0014547829, -0.00090056844, 0.010923147)
|
||||
shape = SubResource("CapsuleShape3D_4y3nc")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone spine1" type="PhysicalBone3D" parent="." unique_id=408345383]
|
||||
transform = Transform3D(0.99999994, 0.00035625725, -2.0440707e-06, -5.4334454e-05, 0.14683925, -0.9891604, -0.00035209538, 0.98916036, 0.14683925, -1.6781014e-05, 1.289539, -0.0047007557)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6923066e-05, 1.2447501e-05, 0.046540737)
|
||||
body_offset = Transform3D(0.99999994, 0.00035634564, -1.5813842e-07, -9.40272e-08, -0.00017990172, -0.9999999, -0.0003563456, 0.9999999, -0.00017991662, -1.6920141e-05, 0.046540737, -4.068017e-06)
|
||||
bone_name = "spine1"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone spine1" unique_id=913992169]
|
||||
transform = Transform3D(1.0000017, 1.2107193e-07, 1.7881393e-07, -5.9604645e-08, -5.2154064e-08, 1.0000038, 1.4994293e-07, -1.0000049, -6.556511e-07, -0.008137435, 0.0062363, -0.050394416)
|
||||
shape = SubResource("CapsuleShape3D_yr836")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone neck" type="PhysicalBone3D" parent="." unique_id=1535717496]
|
||||
transform = Transform3D(-0.9999995, -8.998652e-05, -0.0009650996, 0.00093505066, 0.17272744, -0.98496926, 0.00025533309, -0.9849697, -0.17272727, -1.557038e-05, 1.5518395, -0.02371217)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.3872765e-05, -0.00019338168, 0.049434163)
|
||||
body_offset = Transform3D(-0.9999995, -9.078435e-05, -0.00096296426, 0.00089480437, 0.2911756, -0.9566691, 0.00036724226, -0.95666945, -0.2911754, -1.6286962e-05, 0.0473485, 0.014209032)
|
||||
bone_name = "neck"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone neck" unique_id=760729309]
|
||||
transform = Transform3D(0.9999732, -0.004666389, 0.005031716, -0.00503207, -7.019192e-05, 0.99998707, -0.004665917, -0.9999892, -9.357929e-05, -0.0035126358, -0.0067253187, -0.009511113)
|
||||
shape = SubResource("CapsuleShape3D_q30x1")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone head" type="PhysicalBone3D" parent="." unique_id=1485677274]
|
||||
transform = Transform3D(-1, -7.1810275e-05, -3.809254e-05, 1.2510329e-05, 0.32707167, -0.9449996, 8.031966e-05, -0.9449996, -0.32707167, 4.905464e-07, 1.7111343, 0.022863008)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.7854296e-06, -0.0005947314, 0.11814316)
|
||||
body_offset = Transform3D(-1, -7.293733e-05, -3.6111174e-05, 3.7912378e-07, 0.43951672, -0.8982344, 8.138627e-05, -0.89823437, -0.43951672, -5.6251884e-07, 0.106381655, 0.05139169)
|
||||
bone_name = "head"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone head" unique_id=26758776]
|
||||
transform = Transform3D(0.9997962, 0.018793106, -0.0067698136, -0.012119956, 0.84012836, 0.5422548, 0.015878238, -0.542064, 0.840188, 0.00060372986, 0.0059717596, 0.030230165)
|
||||
shape = SubResource("CapsuleShape3D_k0htq")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone arm_L" type="PhysicalBone3D" parent="." unique_id=774724508]
|
||||
transform = Transform3D(-0.0010189556, 0.00230456, -0.99999684, 0.012242857, -0.9999224, -0.0023168635, -0.9999246, -0.012245178, 0.000990662, 0.2964561, 1.4461982, -0.055658814)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.229735e-05, 0.0052432367, 0.14483787)
|
||||
body_offset = Transform3D(0.9999243, 0.012264895, -0.0010547551, -0.0010820981, 0.002229979, -0.9999972, -0.012262493, 0.99992245, 0.0022431985, 0.00018075109, 0.14482567, -0.005568862)
|
||||
bone_name = "arm.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone arm_L" unique_id=1630702100]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_icpjv")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone forearm_L" type="PhysicalBone3D" parent="." unique_id=842109744]
|
||||
transform = Transform3D(-0.00046320196, -0.001799223, -0.99999833, -0.9999286, -0.011940655, 0.00048465363, -0.0119415065, 0.9999271, -0.0017935636, 0.573839, 1.4433497, -0.07207534)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0025785447, 0.016895821, 0.1437616)
|
||||
body_offset = Transform3D(0.011960031, -0.99992865, 9.953743e-05, -0.0005560891, -0.000106283114, -1, 0.9999284, 0.011959961, -0.0005572038, 0.016849466, 0.14376482, -0.0027003288)
|
||||
bone_name = "forearm.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone forearm_L" unique_id=704093935]
|
||||
transform = Transform3D(0.9999998, 1.4901161e-08, -1.2814999e-06, 8.34465e-07, -2.5331974e-07, 1, 7.450581e-09, -1.0000008, 4.4703484e-08, 0.0023857355, 0.01821693, 0.0026687384)
|
||||
shape = SubResource("CapsuleShape3D_4me46")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone hand_L" type="PhysicalBone3D" parent="." unique_id=570185914]
|
||||
transform = Transform3D(0.0023472628, 0.24620926, -0.9692139, 0.97493386, 0.21507092, 0.056995556, 0.22248253, -0.9450532, -0.23953293, 0.77099496, 1.4349971, -0.043609284)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0027456575, -0.0017657621, 0.05905015)
|
||||
body_offset = Transform3D(-0.22250137, 0.94506496, 0.23946969, 0.0024325196, 0.24616443, -0.96922517, -0.97492945, -0.21507142, -0.057070695, -0.011861049, 0.057660878, 0.0056670904)
|
||||
bone_name = "hand.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone hand_L" unique_id=1486550316]
|
||||
transform = Transform3D(0.9155292, -0.13074967, -0.3804088, 0.40130872, 0.23217854, 0.88602734, -0.027524978, -0.96384525, 0.2650372, -0.0017858744, 0.017058343, 0.0016509295)
|
||||
shape = SubResource("BoxShape3D_dfatx")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handring1_L" type="PhysicalBone3D" parent="." unique_id=289227335]
|
||||
transform = Transform3D(0.005627577, 0.00063943927, -0.99998397, 0.0018140852, -0.99999815, -0.0006292393, -0.99998254, -0.001810515, -0.0056287264, 0.8293941, 1.4472805, -0.06629689)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.007668535, 0.007042771, 0.025061145)
|
||||
body_offset = Transform3D(0.99998295, 0.0018300016, 0.0055646016, 0.005563661, 0.0005664912, -0.9999845, -0.0018331108, 0.9999983, 0.00055641687, -0.007820748, 0.025014102, -0.0070426464)
|
||||
bone_name = "handring1.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone handring1_L" unique_id=2022616607]
|
||||
transform = Transform3D(0.9998964, 0.0094613135, -0.010845989, 0.010945201, -0.010498837, 0.999885, 0.009346411, -0.9999001, -0.010601297, -0.006785944, 0.0020319521, -0.023865044)
|
||||
shape = SubResource("BoxShape3D_spxym")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handthumb1_L" type="PhysicalBone3D" parent="." unique_id=373471647]
|
||||
transform = Transform3D(0.40599978, -0.5033793, -0.7627408, -0.23297259, -0.86405855, 0.446236, -0.8836787, -0.00347401, -0.46808118, 0.7506911, 1.4152737, -0.0062811375)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0123740705, -0.0018493915, 0.024451993)
|
||||
body_offset = Transform3D(0.99992836, 0.0027814575, 0.011654973, 0.011661172, -0.0022115214, -0.99992967, -0.002755507, 0.9999939, -0.002243822, -0.012653027, 0.024301887, 0.001938343)
|
||||
bone_name = "handthumb1.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone handthumb1_L" unique_id=1221135931]
|
||||
transform = Transform3D(0.9998399, 0.0013946891, -0.017836392, 0.017872259, -0.03243348, 0.9993142, 0.00081527233, -0.99947286, -0.03245324, 0.013832271, -0.0059262067, -0.022259474)
|
||||
shape = SubResource("CapsuleShape3D_x0dm7")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone arm_R" type="PhysicalBone3D" parent="." unique_id=1396695687]
|
||||
transform = Transform3D(-0.0038372239, -0.0015737475, 0.9999914, -0.009849529, -0.99995023, -0.0016114778, 0.9999442, -0.009855627, 0.003821532, -0.2946779, 1.4436904, -0.037360646)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01865063, 0.0030400595, 0.14298451)
|
||||
body_offset = Transform3D(0.9999436, -0.009923993, 0.003830617, 0.0038470775, 0.0016319533, -0.99999124, 0.009917766, 0.99994946, 0.0016700142, 0.018132031, 0.14305004, -0.0030937195)
|
||||
bone_name = "arm.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone arm_R" unique_id=1934328562]
|
||||
transform = Transform3D(0.99999833, 2.6077032e-07, -8.34465e-07, -2.6226044e-06, 3.2782555e-07, 0.99999976, -3.874302e-07, -1.0000064, 4.4703484e-08, -0.017169505, 0.0044254363, 0.008804798)
|
||||
shape = SubResource("CapsuleShape3D_icpjv")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone forearm_R" type="PhysicalBone3D" parent="." unique_id=17461685]
|
||||
transform = Transform3D(-0.0003678902, 0.00035952046, 0.9999999, 0.9999484, -0.010158838, 0.00037152352, 0.01015897, 0.9999484, -0.00035576455, -0.5757299, 1.4405098, -0.05568988)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.6302558e-05, 0.00025031457, 0.14568701)
|
||||
body_offset = Transform3D(0.01022705, 0.9999471, 0.0012833336, 0.00032471315, 0.0012801612, -0.9999991, -0.99994767, 0.0102275675, -0.0003116291, -0.00043753535, 0.14568657, 6.914139e-05)
|
||||
bone_name = "forearm.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone forearm_R" unique_id=1999631555]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_4me46")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone hand_R" type="PhysicalBone3D" parent="." unique_id=1629606064]
|
||||
transform = Transform3D(-0.0017289666, -0.24226238, 0.9702092, -0.9735633, 0.22201495, 0.05370244, -0.22841105, -0.94446725, -0.23624158, -0.7629887, 1.4353976, -0.043508988)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0023811192, 0.00045479985, 0.0512913)
|
||||
body_offset = Transform3D(-0.22847763, -0.94445455, -0.23622908, 0.0017836299, 0.24224067, -0.97021455, 0.9735476, -0.2220937, -0.053662047, 0.012002002, 0.049657643, 0.0051715374)
|
||||
bone_name = "hand.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone hand_R" unique_id=14766136]
|
||||
transform = Transform3D(0.9609683, 0.057171144, 0.27068776, -0.26816073, 0.43312615, 0.86051863, -0.068044975, -0.89951897, 0.43155122, -0.0031374693, 0.01663211, -0.0018490553)
|
||||
shape = SubResource("BoxShape3D_dfatx")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handring1_R" type="PhysicalBone3D" parent="." unique_id=2088621090]
|
||||
transform = Transform3D(0.009330867, -0.0003471185, 0.9999565, -0.00019168327, -1, -0.00034534498, 0.9999564, -0.00018845256, -0.009330934, -0.82194287, 1.4401419, -0.07403043)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.2141706e-05, 1.9684617e-06, 0.01757567)
|
||||
body_offset = Transform3D(0.9999568, -0.0002567844, -0.009321765, -0.009321576, 0.00040544174, -0.9999564, 0.00026066398, 1, 0.00040300403, 0.00013169646, 0.017575204, -9.059906e-06)
|
||||
bone_name = "handring1.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone handring1_R" unique_id=2139184823]
|
||||
transform = Transform3D(0.99971086, 0.008283079, 0.022828963, -0.023740117, 0.13517958, 0.99053305, 0.005119413, -0.9907882, 0.1353357, 0.011277318, -0.0011302531, -0.02194804)
|
||||
shape = SubResource("BoxShape3D_spxym")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone handthumb1_R" type="PhysicalBone3D" parent="." unique_id=135555111]
|
||||
transform = Transform3D(0.40409195, 0.5053865, 0.7624265, 0.23815538, -0.8628919, 0.4457573, 0.88317144, 0.0014490238, -0.4690481, -0.754602, 1.4151249, -0.016847476)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0014315321, 8.297911e-06, 0.022556785)
|
||||
body_offset = Transform3D(0.9999378, 0.0022874027, -0.010926068, -0.010922492, -0.0014268409, -0.9999393, -0.0023028755, 0.99999636, -0.0014018698, 0.001677881, 0.022539794, 2.002716e-05)
|
||||
bone_name = "handthumb1.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone handthumb1_R" unique_id=1406112360]
|
||||
transform = Transform3D(0.9999994, -1.013279e-06, 2.986053e-07, -2.6077032e-08, 5.3143594e-08, 0.999999, -1.2814999e-06, -0.99999994, -1.435983e-07, -0.0033495314, -0.0023185015, -0.021286476)
|
||||
shape = SubResource("CapsuleShape3D_x0dm7")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone upleg_L" type="PhysicalBone3D" parent="." unique_id=923922514]
|
||||
transform = Transform3D(-0.9999995, -3.1669544e-05, 0.0010502427, 0.0010499961, 0.0069807377, 0.9999751, -3.9000228e-05, 0.9999756, -0.006980701, 0.082143605, 0.76412666, 0.010292497)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00028783258, -0.009266339, 0.21117362)
|
||||
body_offset = Transform3D(0.9999991, 1.088556e-06, -0.0010027027, -0.0010027037, 0.00086087035, -0.9999989, -2.2538006e-07, 0.9999997, 0.00086086616, -7.607788e-05, 0.21118164, 0.009084543)
|
||||
bone_name = "upleg.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone upleg_L" unique_id=600319327]
|
||||
transform = Transform3D(1.0000027, 2.1141022e-07, -9.313226e-08, 1.6763806e-08, -5.066395e-07, 1.0000023, 1.3411045e-07, -1.0000007, -3.5762787e-07, -0.0047314167, -0.007822901, -0.027338386)
|
||||
shape = SubResource("CapsuleShape3D_i24lk")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone leg_L" type="PhysicalBone3D" parent="." unique_id=535849418]
|
||||
transform = Transform3D(-0.99991655, 0.012593383, -0.0028941925, -0.0037650047, -0.06968372, 0.99756205, 0.012361004, 0.99748963, 0.06972532, 0.08552108, 0.30831075, -0.016193785)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0028612693, 0.0035787812, 0.22402586)
|
||||
body_offset = Transform3D(0.99991554, -0.012627556, 0.002940407, 0.0029578889, 0.0013659, -0.9999946, 0.01262348, 0.99991935, 0.0014031604, -0.0034745634, 0.22401127, -0.0039289556)
|
||||
linear_damp = 100.0
|
||||
angular_damp = 100.0
|
||||
bone_name = "leg.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone leg_L" unique_id=135636896]
|
||||
transform = Transform3D(1.0000004, 7.159542e-08, 1.1175871e-08, -1.1175871e-08, 7.450581e-09, 1.0000008, -2.0605512e-08, -1.0000001, 2.9802322e-08, 0.003555715, 0.0021097586, 0.00012660027)
|
||||
shape = SubResource("CapsuleShape3D_wjtln")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone foot_L" type="PhysicalBone3D" parent="." unique_id=718743270]
|
||||
transform = Transform3D(-0.9999985, 0.00010141681, -0.0017165533, -3.5656262e-06, 0.99813485, 0.061048653, 0.0017195428, 0.06104857, -0.99813336, 0.082542896, 0.03511026, 0.010127977)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00044204417, 0.049793866, 0.04063685)
|
||||
body_offset = Transform3D(0.99999803, -4.239884e-05, 0.0017566915, 0.0014022528, -0.5832239, -0.8123101, 0.001058986, 0.81231123, -0.583223, -0.00051131845, 0.062050074, -0.016748238)
|
||||
bone_name = "foot.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone foot_L" unique_id=1154544383]
|
||||
transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_5rrk6")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone toebase_L" type="PhysicalBone3D" parent="." unique_id=224697510]
|
||||
transform = Transform3D(-0.77254647, -1.5526359e-07, 0.63495827, -3.658497e-07, 1, -2.0059949e-07, -0.63495827, -3.872717e-07, -0.77254647, 0.08805508, 0.031055171, 0.123403504)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.03239762, -0.031047923, 0.029923955)
|
||||
body_offset = Transform3D(0.77256095, 6.7721456e-05, -0.6349399, -0.63494027, -9.250466e-05, -0.77256143, -0.00011107382, 0.9999999, -2.8490693e-05, -0.0060271174, 0.04368577, 0.031052366)
|
||||
bone_name = "toebase.L"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone toebase_L" unique_id=616098296]
|
||||
transform = Transform3D(1, 0, 1.7763568e-15, -2.6645353e-15, 0, 1, 0, -1, 4.440892e-16, 8.046627e-06, -1.3783574e-07, -0.002596669)
|
||||
shape = SubResource("CapsuleShape3D_5x108")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone upleg_R" type="PhysicalBone3D" parent="." unique_id=1622275105]
|
||||
transform = Transform3D(-0.9999998, -0.0006680412, 4.666626e-05, 4.1378767e-05, 0.007912757, 0.9999687, -0.00066838955, 0.99996847, -0.007912728, -0.081999995, 0.7487053, 0.0014306455)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.857206e-05, -8.59331e-05, 0.22653335)
|
||||
body_offset = Transform3D(0.9999996, 0.00063750433, 9.0171255e-07, 9.470614e-07, -7.1145594e-05, -1, -0.00063750456, 0.9999999, -7.115211e-05, -8.8721514e-05, 0.22653335, 0.00010210788)
|
||||
bone_name = "upleg.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone upleg_R" unique_id=1714408512]
|
||||
transform = Transform3D(0.9999989, 3.1664968e-08, 2.682209e-07, -1.3411045e-07, 4.4703484e-08, 0.999999, 2.7939677e-08, -0.9999992, -1.4901161e-08, 0.00027324073, 0.0012482777, -0.010423422)
|
||||
shape = SubResource("CapsuleShape3D_i24lk")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone leg_R" type="PhysicalBone3D" parent="." unique_id=1771928892]
|
||||
transform = Transform3D(-0.9999986, -0.0017093066, 2.3514845e-05, 0.0001474742, -0.07255638, 0.99736434, -0.0017030954, 0.99736285, 0.072556525, -0.08175275, 0.30187577, -0.012938316)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00035296247, -0.00073449546, 0.23020752)
|
||||
body_offset = Transform3D(0.99999845, 0.0016749926, 2.2602673e-05, 1.5337937e-05, 0.00433705, -0.99999076, -0.0016750759, 0.99998945, 0.0043370426, -0.00035693496, 0.23020858, -0.00026334077)
|
||||
bone_name = "leg.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone leg_R" unique_id=85244030]
|
||||
transform = Transform3D(0.99999946, -8.731149e-11, 1.1641532e-09, -2.3283064e-10, 6.7055225e-08, 0.99999833, -5.820766e-11, -0.99999946, 1.4156103e-07, 0, 0, 0)
|
||||
shape = SubResource("CapsuleShape3D_wjtln")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone foot_R" type="PhysicalBone3D" parent="." unique_id=928779467]
|
||||
transform = Transform3D(-0.9999967, -0.0025686559, -0.00021287389, -0.0025768746, 0.9981159, 0.061302822, 5.5006938e-05, 0.06130317, -0.99811924, -0.08196407, 0.034747817, 0.031091146)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.697693e-05, 0.04886046, 0.06155206)
|
||||
body_offset = Transform3D(0.9999963, 0.0026276608, 0.00025302861, 0.0017373561, -0.58293664, -0.812516, -0.0019875169, 0.8125135, -0.5829393, -0.00016093999, 0.07849455, -0.0038186274)
|
||||
bone_name = "foot.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone foot_R" unique_id=1124161036]
|
||||
transform = Transform3D(1, 1.05854525e-07, 4.6270483e-15, 0, -4.371139e-08, 1, 1.05854525e-07, -1, -4.371139e-08, 0.0024022013, 0.010436047, 0.021283412)
|
||||
shape = SubResource("CapsuleShape3D_5rrk6")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
|
||||
[node name="Physical Bone toebase_R" type="PhysicalBone3D" parent="." unique_id=535152855]
|
||||
transform = Transform3D(-0.7523924, 8.143013e-05, -0.6587152, 9.4358955e-05, 1, 1.5841717e-05, 0.65871525, -5.023649e-05, -0.75239235, -0.088326186, 0.031028973, 0.12307434)
|
||||
collision_layer = 130
|
||||
collision_mask = 4096
|
||||
joint_type = 1
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0331938, -0.031011382, 0.028502375)
|
||||
body_offset = Transform3D(0.75236195, -1.6642027e-05, 0.65874976, 0.6587502, -4.6422574e-05, -0.7523623, 4.3123317e-05, 1.0000002, -2.3988297e-05, 0.0061973035, 0.0433091, 0.031013506)
|
||||
bone_name = "toebase.R"
|
||||
joint_constraints/bias = 0.3
|
||||
joint_constraints/damping = 1.0
|
||||
joint_constraints/impulse_clamp = 0.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Physical Bone toebase_R" unique_id=1858415780]
|
||||
transform = Transform3D(1, 0, 1.7763568e-15, -2.6645353e-15, 0, 1, 0, -1, 4.440892e-16, 8.046627e-06, -1.3783574e-07, -0.002596669)
|
||||
shape = SubResource("CapsuleShape3D_5x108")
|
||||
debug_color = Color(0.78431374, 0.39215687, 0, 1)
|
||||
@@ -0,0 +1,245 @@
|
||||
[gd_scene format=3 uid="uid://clq35hqimrb1e"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dsc716f1ib7si" path="res://Assets/Classes/PlayerCharacter/player_camera_3d.gd" id="1_jltft"]
|
||||
[ext_resource type="InputResource" uid="uid://dji2q0ekqofcx" path="res://Assets/Input/camera_movement.tres" id="2_udngf"]
|
||||
[ext_resource type="PackedScene" uid="uid://chpf6tiw7kdgl" path="res://Assets/Classes/GameplayCamera.tscn" id="3_plj6u"]
|
||||
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="3_uysnn"]
|
||||
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="4_udngf"]
|
||||
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="5_7b7xm"]
|
||||
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="6_58rjj"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_plj6u"]
|
||||
_data = [Vector2(0, 0), 0.0, 48.095234, 0, 0, Vector2(0.0330033, 0.5802469), 4.620916, 4.620916, 0, 0, Vector2(0.19141915, 0.9506173), 0.17813037, 0.17813037, 0, 0, Vector2(1, 1), 0.041107014, 0.0, 0, 0]
|
||||
point_count = 4
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_plj6u"]
|
||||
radius = 0.2
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_34qtn"]
|
||||
animation = &"slice_time_zoom_in"
|
||||
|
||||
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_gxs3p"]
|
||||
animation = &"standard_zoom"
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_xwyqw"]
|
||||
advance_mode = 2
|
||||
|
||||
[sub_resource type="Curve" id="Curve_omrbt"]
|
||||
_data = [Vector2(0, 0), 0.0, 2.8768382, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_p62qo"]
|
||||
xfade_time = 0.25
|
||||
xfade_curve = SubResource("Curve_omrbt")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_fj36c"]
|
||||
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 2.1381392, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_x5tn7"]
|
||||
xfade_time = 0.5
|
||||
xfade_curve = SubResource("Curve_fj36c")
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_6ql8e"]
|
||||
states/slice_time_zoom_in/node = SubResource("AnimationNodeAnimation_34qtn")
|
||||
states/slice_time_zoom_in/position = Vector2(561.6666, -10.333337)
|
||||
states/standard_zoom/node = SubResource("AnimationNodeAnimation_gxs3p")
|
||||
states/standard_zoom/position = Vector2(377.66666, 98.55555)
|
||||
transitions = ["Start", "standard_zoom", SubResource("AnimationNodeStateMachineTransition_xwyqw"), "standard_zoom", "slice_time_zoom_in", SubResource("AnimationNodeStateMachineTransition_p62qo"), "slice_time_zoom_in", "standard_zoom", SubResource("AnimationNodeStateMachineTransition_x5tn7")]
|
||||
graph_offset = Vector2(-15, -65)
|
||||
|
||||
[sub_resource type="Animation" id="Animation_gxs3p"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:fov")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [60.0]
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:rotation:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(-0.2617994, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_34qtn"]
|
||||
resource_name = "slice_time_zoom_in"
|
||||
length = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:fov")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [50.0]
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:rotation:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(-0.2617994, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/2/type = "bezier"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D:rotation:x")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0.1)
|
||||
}
|
||||
tracks/3/type = "bezier"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D:rotation:y")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(-2.8797932, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0.1)
|
||||
}
|
||||
tracks/4/type = "bezier"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D:rotation:z")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0.1)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xwyqw"]
|
||||
resource_name = "standard_zoom"
|
||||
length = 0.1
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:fov")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(60, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/1/type = "bezier"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D:rotation:y")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(-0.17453292, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
tracks/2/type = "bezier"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D:rotation:y")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(-2.9670596, -0.05, 0, 0.05, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_p62qo"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_gxs3p"),
|
||||
&"slice_time_zoom_in": SubResource("Animation_34qtn"),
|
||||
&"standard_zoom": SubResource("Animation_xwyqw")
|
||||
}
|
||||
|
||||
[node name="PlayerCamera3D" type="Node3D" unique_id=832857779 node_paths=PackedStringArray("animation_tree", "camera", "state_chart", "gimbal_x", "gimbal_y")]
|
||||
script = ExtResource("1_jltft")
|
||||
follow_max_distance = 0.5
|
||||
follow_speed = 12.0
|
||||
follow_distance_curve = SubResource("Curve_plj6u")
|
||||
animation_tree = NodePath("AnimationTree")
|
||||
camera = NodePath("CameraGimbalY/CameraGimbalX/SpringArm3D/Camera3D")
|
||||
state_chart = NodePath("StateChart")
|
||||
gimbal_x = NodePath("CameraGimbalY/CameraGimbalX")
|
||||
gimbal_y = NodePath("CameraGimbalY")
|
||||
_camera_movement_speed = Vector2(2.5, 2.5)
|
||||
_camera_accelerate_speed = 7.5
|
||||
_camera_movement_resource = ExtResource("2_udngf")
|
||||
|
||||
[node name="CameraGimbalY" type="Node3D" parent="." unique_id=483505300]
|
||||
|
||||
[node name="CameraGimbalX" type="Node3D" parent="CameraGimbalY" unique_id=1708449693]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.96592575, -0.258819, 0, 0.258819, 0.96592575, 0, 0, 0)
|
||||
|
||||
[node name="SpringArm3D" type="SpringArm3D" parent="CameraGimbalY/CameraGimbalX" unique_id=26339869]
|
||||
transform = Transform3D(-0.9848076, 0, -0.17364831, 0, 1.0000001, 0, 0.17364828, 0, -0.98480785, 0, 0, 0)
|
||||
shape = SubResource("SphereShape3D_plj6u")
|
||||
spring_length = 2.667
|
||||
|
||||
[node name="Camera3D" parent="CameraGimbalY/CameraGimbalX/SpringArm3D" unique_id=1011005417 instance=ExtResource("3_plj6u")]
|
||||
transform = Transform3D(0.98480755, 0, -0.1736481, 0, 0.99999994, 0, 0.17364815, 0, 0.9848073, 0, 0, 0)
|
||||
|
||||
[node name="StateChart" type="Node" parent="." unique_id=874540950]
|
||||
script = ExtResource("3_uysnn")
|
||||
metadata/_custom_type_script = "uid://couw105c3bde4"
|
||||
|
||||
[node name="MovementModes" type="Node" parent="StateChart" unique_id=686557367]
|
||||
script = ExtResource("4_udngf")
|
||||
initial_state = NodePath("Standard")
|
||||
|
||||
[node name="Standard" type="Node" parent="StateChart/MovementModes" unique_id=2062985915]
|
||||
script = ExtResource("5_7b7xm")
|
||||
|
||||
[node name="OnSliceTime" type="Node" parent="StateChart/MovementModes/Standard" unique_id=1457596640]
|
||||
script = ExtResource("6_58rjj")
|
||||
to = NodePath("../../SliceTime")
|
||||
event = &"slice_time"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="SliceTime" type="Node" parent="StateChart/MovementModes" unique_id=1562604431]
|
||||
script = ExtResource("5_7b7xm")
|
||||
|
||||
[node name="OnExitSliceTime" type="Node" parent="StateChart/MovementModes/SliceTime" unique_id=1833457444]
|
||||
script = ExtResource("6_58rjj")
|
||||
to = NodePath("../../Standard")
|
||||
event = &"no_more_slice_time"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=1750187388]
|
||||
tree_root = SubResource("AnimationNodeStateMachine_6ql8e")
|
||||
anim_player = NodePath("AnimationPlayer")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="AnimationTree" unique_id=459304662]
|
||||
root_node = NodePath("../..")
|
||||
libraries/ = SubResource("AnimationLibrary_p62qo")
|
||||
|
||||
[connection signal="state_entered" from="StateChart/MovementModes/Standard" to="." method="_on_standard_state_entered"]
|
||||
[connection signal="state_entered" from="StateChart/MovementModes/SliceTime" to="." method="_on_slice_time_state_entered"]
|
||||
[connection signal="state_exited" from="StateChart/MovementModes/SliceTime" to="." method="_on_slice_time_state_exited"]
|
||||
[connection signal="state_physics_processing" from="StateChart/MovementModes/SliceTime" to="." method="_on_slice_time_state_physics_processing"]
|
||||
@@ -0,0 +1,237 @@
|
||||
[gd_scene format=3 uid="uid://dhck4i8urax22"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://0lx4ngfees3q" path="res://Assets/Classes/Character3D.tscn" id="1_cuu4l"]
|
||||
[ext_resource type="Script" uid="uid://cjd3p5p41vqyj" path="res://Assets/Classes/PlayerCharacter/player_character_3d.gd" id="1_ph0or"]
|
||||
[ext_resource type="PackedScene" uid="uid://clq35hqimrb1e" path="res://Assets/Classes/PlayerCharacter/PlayerCamera3D.tscn" id="2_4jc4t"]
|
||||
[ext_resource type="PackedScene" uid="uid://rn3sy0dl4o0n" path="res://Assets/Classes/PlayerCharacter/PlayerMovementHandler.tscn" id="3_4jc4t"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb722x8kppyc" path="res://Assets/Classes/PlayerCharacter/PlayerSliceRing.tscn" id="4_sdxab"]
|
||||
[ext_resource type="Script" uid="uid://sv5e443msxb" path="res://Assets/Classes/PlayerCharacter/slice_ring_spawner.gd" id="5_8jdat"]
|
||||
|
||||
[node name="PlayerCharacter3D" type="Node3D" unique_id=24212124]
|
||||
script = ExtResource("1_ph0or")
|
||||
|
||||
[node name="PlayerCharacter3D" parent="." unique_id=513899147 instance=ExtResource("1_cuu4l")]
|
||||
collision_layer = 16
|
||||
collision_mask = 8227
|
||||
|
||||
[node name="Skeleton3D" parent="PlayerCharacter3D/SK_Mixamo/Mixamo" parent_id_path=PackedInt32Array(513899147, 581893179, 2043084189) index="0" unique_id=2131179153]
|
||||
bones/1/rotation = Quaternion(0.7089324, -0.011329939, -0.04667883, 0.70363873)
|
||||
bones/2/rotation = Quaternion(-0.071335725, 0.004542303, 0.015166278, 0.9973268)
|
||||
bones/3/rotation = Quaternion(0.017609281, 0.007127215, 0.027267393, 0.9994477)
|
||||
bones/4/rotation = Quaternion(0.030486446, 0.0074779643, 0.027173264, 0.9991379)
|
||||
bones/5/rotation = Quaternion(-0.09461062, 0.0025839217, -0.0015927132, 0.9955098)
|
||||
bones/6/rotation = Quaternion(0.028451348, 0.011723317, -0.03923429, 0.9987561)
|
||||
bones/8/rotation = Quaternion(0.5690915, 0.50335896, -0.539176, 0.3633921)
|
||||
bones/9/rotation = Quaternion(0.5027855, 0.23152153, 0.18382111, 0.81228966)
|
||||
bones/10/rotation = Quaternion(0.0001107647, -0.00070920796, 0.15359928, 0.988133)
|
||||
bones/11/rotation = Quaternion(-0.11541009, -0.15078788, 0.10803185, 0.9758446)
|
||||
bones/12/rotation = Quaternion(0.11821405, -0.06829226, -0.098524414, 0.98572546)
|
||||
bones/13/rotation = Quaternion(0.10024357, 0.0038358571, -0.010102622, 0.9949043)
|
||||
bones/16/rotation = Quaternion(0.09237285, -0.012534129, -0.059371777, 0.9938739)
|
||||
bones/17/rotation = Quaternion(0.10350131, 6.664757e-05, 0.0032838208, 0.9946239)
|
||||
bones/20/rotation = Quaternion(0.24397384, 0.041668605, -0.070586815, 0.96631163)
|
||||
bones/21/rotation = Quaternion(0.14278682, -0.00083076797, 0.024642698, 0.9894463)
|
||||
bones/24/rotation = Quaternion(0.17253485, 0.006533878, -0.058522467, 0.9832417)
|
||||
bones/25/rotation = Quaternion(0.09744593, -0.0010164303, -0.00024192326, 0.99524033)
|
||||
bones/32/rotation = Quaternion(-0.5437173, 0.5264967, -0.5405966, -0.3673254)
|
||||
bones/33/rotation = Quaternion(0.4901721, -0.30509657, -0.16858566, 0.79889077)
|
||||
bones/34/rotation = Quaternion(-7.025325e-05, -0.00042762232, -0.16353771, 0.986537)
|
||||
bones/35/rotation = Quaternion(-0.20686176, 0.24933952, -0.07850003, 0.9428022)
|
||||
bones/36/rotation = Quaternion(0.09599033, 0.056479756, 0.065572076, 0.99161303)
|
||||
bones/37/rotation = Quaternion(0.021850917, -0.00728963, 0.008018257, 0.9997026)
|
||||
bones/40/rotation = Quaternion(0.11337595, 0.0066973343, 0.05342195, 0.9920924)
|
||||
bones/41/rotation = Quaternion(0.084311314, 0.0004885896, -0.0027773222, 0.9964355)
|
||||
bones/44/rotation = Quaternion(0.19063903, -0.007867381, 0.03650103, 0.9809498)
|
||||
bones/45/rotation = Quaternion(0.10480927, 0.007483745, -0.035172153, 0.99384207)
|
||||
bones/48/rotation = Quaternion(0.17300653, 0.01105341, 0.03407452, 0.984269)
|
||||
bones/49/rotation = Quaternion(0.077574864, 0.0027781671, -0.0040934305, 0.99697423)
|
||||
bones/56/rotation = Quaternion(0.023020217, 0.13757135, 0.987347, -0.075433485)
|
||||
bones/57/rotation = Quaternion(-0.16125123, -0.00085400394, -0.004602408, 0.98690236)
|
||||
bones/58/rotation = Quaternion(0.42789608, -0.1571749, 0.037200805, 0.88927907)
|
||||
bones/59/rotation = Quaternion(0.3382289, -0.031379074, 0.025549687, 0.9401935)
|
||||
bones/61/rotation = Quaternion(-0.060553186, 0.032469105, 0.9958792, -0.05919384)
|
||||
bones/62/rotation = Quaternion(-0.10807713, -0.00019450963, 0.0019413788, 0.9941407)
|
||||
bones/63/rotation = Quaternion(0.49551302, 0.087210536, -0.072757386, 0.8611432)
|
||||
|
||||
[node name="MeshInstance3D" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D" index="0" unique_id=1316399456]
|
||||
layers = 32
|
||||
|
||||
[node name="Physical Bone hips" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="0" unique_id=1860743939]
|
||||
transform = Transform3D(0.995385, -0.082139716, -0.049618218, -0.050239787, -0.0055164485, -0.99872196, 0.08176102, 0.9966056, -0.009617671, -0.055816714, 1.0853922, 0.0040496476)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.8898866e-05, 2.1026924e-06, 0.051971186)
|
||||
body_offset = Transform3D(1.0000001, -6.645918e-06, 1.5535625e-07, 1.640874e-07, -8.977484e-05, -1.0000002, 6.6384673e-06, 1.0000001, -8.9828856e-05, -3.8906932e-05, 0.051971197, 2.5655609e-06)
|
||||
|
||||
[node name="Physical Bone spine1" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="1" unique_id=408345383]
|
||||
transform = Transform3D(0.99825, -0.052834712, 0.02655988, 0.031826425, 0.10147646, -0.9943288, 0.049839865, 0.993434, 0.10298043, -0.051558323, 1.2806822, -0.013781617)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.7440438e-05, 1.6310663e-05, 0.0467007)
|
||||
body_offset = Transform3D(0.99999994, 0.0003486313, -1.2572855e-08, 1.0617077e-07, -0.00017470866, -1.0000004, -0.0003486313, 1.0000004, -0.00017475337, -1.7445534e-05, 0.046700716, -8.143485e-06)
|
||||
|
||||
[node name="Physical Bone neck" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="2" unique_id=1535717496]
|
||||
transform = Transform3D(-0.9964241, 0.021438621, 0.08172873, -0.080234654, 0.06314996, -0.9947736, -0.026487742, -0.99777377, -0.06120402, -0.07096241, 1.5442017, -0.023259826)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.7453228e-05, -0.00020383298, 0.04961701)
|
||||
body_offset = Transform3D(-0.9999997, -4.7838315e-05, -0.0008300267, 0.00078010606, 0.29099083, -0.95672554, 0.00028730184, -0.95672613, -0.29099074, -1.6279519e-05, 0.04752922, 0.014243096)
|
||||
|
||||
[node name="Physical Bone head" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="3" unique_id=1485677274]
|
||||
transform = Transform3D(-0.99980944, 0.01888692, 0.0049392097, 0.0004748266, 0.2764582, -0.9610259, -0.019516302, -0.96084034, -0.2764145, -0.07549476, 1.7060113, 0.012056487)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.4347265e-06, -0.0006014444, 0.11850061)
|
||||
body_offset = Transform3D(-1.0000001, -4.6465546e-05, -2.3652334e-05, 7.466879e-07, 0.43972558, -0.8981326, 5.2155927e-05, -0.89813256, -0.43972564, -2.6598573e-06, 0.106693745, 0.051567584)
|
||||
|
||||
[node name="Physical Bone arm_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="4" unique_id=774724508]
|
||||
transform = Transform3D(0.50749874, -0.8144683, -0.2812232, 0.21893081, -0.19378033, 0.9563046, -0.83337533, -0.5468918, 0.07996892, 0.13549441, 1.2878819, -0.04860475)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00011336084, 0.0052650636, 0.14500561)
|
||||
body_offset = Transform3D(0.9999194, 0.0126826465, -0.00091502815, -0.0009425804, 0.0021831729, -0.9999977, -0.012680739, 0.9999176, 0.0021950305, 0.00017926097, 0.14499366, -0.005584359)
|
||||
|
||||
[node name="Physical Bone forearm_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="5" unique_id=842109744]
|
||||
transform = Transform3D(-0.81526953, -0.5677026, -0.114234135, -0.19485463, 0.08317398, 0.9772992, -0.545314, 0.8190213, -0.1784287, 0.1962044, 1.0174236, -0.04895726)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0025665292, 0.016949348, 0.14401811)
|
||||
body_offset = Transform3D(0.012524545, -0.9999222, 0.00026343763, -0.0005292222, -0.00027029216, -1.0000004, 0.9999219, 0.012524486, -0.00053258985, 0.016877946, 0.14402413, -0.0027019083)
|
||||
|
||||
[node name="Physical Bone hand_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="6" unique_id=570185914]
|
||||
transform = Transform3D(0.82383996, 0.56033427, -0.08551757, 0.41331828, -0.490611, 0.76711726, 0.38788617, -0.6673278, -0.63578135, 0.2046236, 0.8348119, 0.02335985)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0027498812, -0.0017744384, 0.05916656)
|
||||
body_offset = Transform3D(-0.2224724, 0.94506013, 0.23951733, 0.0025393218, 0.24623516, -0.9692073, -0.9749362, -0.21501373, -0.05718024, -0.011882693, 0.057774603, 0.0056825876)
|
||||
|
||||
[node name="Physical Bone handring1_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="7" unique_id=289227335]
|
||||
transform = Transform3D(0.3301611, -0.9416054, 0.066128336, -0.26634258, -0.02572095, 0.96353525, -0.905569, -0.3357346, -0.2592817, 0.22927028, 0.77456397, 0.028756147)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0076725255, 0.0070614493, 0.025105877)
|
||||
body_offset = Transform3D(0.9999809, 0.0019342005, 0.005992174, 0.00599131, 0.0005334392, -0.9999827, -0.0019374788, 0.9999987, 0.00052191317, -0.007836476, 0.025055707, -0.0070596784)
|
||||
|
||||
[node name="Physical Bone handthumb1_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="8" unique_id=373471647]
|
||||
transform = Transform3D(0.08762102, -0.9607677, 0.26315004, -0.6188275, 0.15451264, 0.7701807, -0.78062475, -0.2303285, -0.581011, 0.17380561, 0.8546042, 0.042835973)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.012403211, -0.0018486909, 0.024496391)
|
||||
body_offset = Transform3D(0.9999242, 0.002959907, 0.0120278895, 0.012034863, -0.0023299754, -0.9999255, -0.002931878, 0.9999937, -0.0023654401, -0.012691438, 0.024340987, 0.0019429885)
|
||||
|
||||
[node name="Physical Bone arm_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="9" unique_id=1396695687]
|
||||
transform = Transform3D(0.5183688, 0.83543414, 0.18260239, -0.2716202, -0.041623276, 0.96150404, 0.8108738, -0.5480122, 0.20534459, -0.228793, 1.2627441, -0.066447996)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.01872002, 0.0030378825, 0.14333878)
|
||||
body_offset = Transform3D(0.99993324, -0.010776967, 0.004177481, 0.004196629, 0.0017594174, -0.9999899, 0.010769308, 0.99994016, 0.0018045604, 0.018152714, 0.14341056, -0.0030947626)
|
||||
|
||||
[node name="Physical Bone forearm_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="10" unique_id=17461685]
|
||||
transform = Transform3D(-0.83485395, 0.55044717, 0.0051820446, 0.043142073, 0.056042187, 0.9974959, 0.54877836, 0.83298695, -0.070534475, -0.26047695, 0.991913, -0.10028164)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0400348e-05, 0.00024980004, 0.1459283)
|
||||
body_offset = Transform3D(0.010946184, 0.99993956, 0.0012458675, 0.00034827366, 0.0012419447, -0.99999946, -0.99994004, 0.010946333, -0.00033457205, -0.00043192506, 0.1459279, 7.648766e-05)
|
||||
|
||||
[node name="Physical Bone hand_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="11" unique_id=1629606064]
|
||||
transform = Transform3D(0.8863236, -0.38524157, 0.25694263, -0.42007986, -0.43544355, 0.7961921, -0.19484228, -0.81362027, -0.5477761, -0.2721497, 0.8131903, -0.06238608)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0023814787, 0.00044175982, 0.05138261)
|
||||
body_offset = Transform3D(-0.22860482, -0.9444115, -0.23627877, 0.0019123107, 0.24226972, -0.97020733, 0.97351754, -0.22224581, -0.053578034, 0.012013406, 0.049749315, 0.0051695704)
|
||||
|
||||
[node name="Physical Bone handring1_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="12" unique_id=2088621090]
|
||||
transform = Transform3D(0.067101605, 0.99772286, 0.0068160207, 0.268565, -0.024640717, 0.9629464, 0.9609215, -0.0627847, -0.26960692, -0.29385492, 0.7518365, -0.072871774)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.8965436e-05, -3.5211222e-06, 0.017611993)
|
||||
body_offset = Transform3D(0.9999567, -0.00028495118, -0.009347767, -0.009347826, 0.00039823167, -0.99995667, 0.00028880313, 1.0000001, 0.00039574318, 0.00013566762, 0.017611504, -3.4570694e-06)
|
||||
|
||||
[node name="Physical Bone handthumb1_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="13" unique_id=135555111]
|
||||
transform = Transform3D(-0.17060854, 0.98363423, -0.057935882, 0.5584415, 0.14496821, 0.81677866, 0.81181026, 0.10699562, -0.574035, -0.25116414, 0.8185364, -0.04245319)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0014274662, 7.436258e-06, 0.022628348)
|
||||
body_offset = Transform3D(0.9999312, 0.0024880916, -0.011508375, -0.01150468, -0.0014855079, -0.9999332, -0.0025047138, 0.99999607, -0.0014566258, 0.0016877651, 0.022610426, 2.194941e-05)
|
||||
|
||||
[node name="Physical Bone upleg_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="14" unique_id=923922514]
|
||||
transform = Transform3D(-0.9955945, -0.040672604, -0.08448288, -0.09232694, 0.26812515, 0.95894974, -0.016350996, 0.9625252, -0.2706991, 0.039002616, 0.7612752, 0.060783334)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00026820647, -0.009259556, 0.21173729)
|
||||
body_offset = Transform3D(0.9999997, 2.2817403e-07, -0.00089636724, -0.00089636026, 0.0002091527, -0.99999976, -5.5879354e-08, 1, 0.0002091825, -7.840991e-05, 0.21173942, 0.0092152655)
|
||||
|
||||
[node name="Physical Bone leg_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="15" unique_id=535849418]
|
||||
transform = Transform3D(-0.9961606, 0.0014940503, -0.08753165, -0.0874934, -0.051115975, 0.9948528, -0.0029879054, 0.9986916, 0.051050443, 0.08161403, 0.31330913, 0.09972069)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0028633913, 0.0035817407, 0.22465657)
|
||||
body_offset = Transform3D(0.9999161, -0.012623414, 0.0029703237, 0.0029882314, 0.0013996884, -0.9999947, 0.012619174, 0.9999195, 0.0014372692, -0.00348524, 0.2246418, -0.003940478)
|
||||
|
||||
[node name="Physical Bone foot_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="16" unique_id=718743270]
|
||||
transform = Transform3D(-0.9530085, -0.00031992793, -0.30294356, -0.027269278, 0.99603057, 0.08473261, 0.3017139, 0.08901194, -0.94923425, 0.10953155, 0.040084478, 0.12675771)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00043557613, 0.049915306, 0.040756267)
|
||||
body_offset = Transform3D(0.999998, -0.00021509081, 0.0020834804, 0.0015679896, -0.58262825, -0.81273764, 0.001388669, 0.81273925, -0.58262646, -0.0005097538, 0.06220554, -0.016823053)
|
||||
|
||||
[node name="Physical Bone toebase_L" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="17" unique_id=224697510]
|
||||
transform = Transform3D(-0.9510647, 0.018093666, 0.3084617, 0.020205675, 0.9997892, 0.003653785, -0.30833057, 0.009707662, -0.95122975, 0.15280552, 0.033898614, 0.23100625)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.032497197, -0.031130569, 0.030008858)
|
||||
body_offset = Transform3D(0.7725501, 6.97549e-05, -0.63495445, -0.63495445, -8.067582e-05, -0.77255017, -0.00010500639, 1.0000007, -1.7898157e-05, -0.006049283, 0.043815076, 0.03113454)
|
||||
|
||||
[node name="Physical Bone upleg_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="18" unique_id=1622275105]
|
||||
transform = Transform3D(-0.9774522, -0.20293452, -0.058350265, -0.07155747, 0.05835887, 0.9957278, -0.19866225, 0.97745174, -0.07156449, -0.12885843, 0.7440865, -0.002521729)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.352287e-05, -9.107889e-05, 0.22695495)
|
||||
body_offset = Transform3D(0.9999998, 0.00056508183, 1.1976808e-06, 1.2805685e-06, -9.4778836e-05, -1, -0.00056509674, 0.99999994, -9.472668e-05, -9.3743205e-05, 0.22695494, 0.00011263043)
|
||||
|
||||
[node name="Physical Bone leg_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="19" unique_id=1771928892]
|
||||
transform = Transform3D(-0.97702944, -0.18541943, -0.1050387, -0.07509239, -0.1617299, 0.9839739, -0.19943577, 0.9692591, 0.1440913, -0.091789834, 0.3010397, -0.01956334)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00039949166, -0.00079575245, 0.23079874)
|
||||
body_offset = Transform3D(0.9999987, 0.0016318262, -5.4733828e-05, -6.239675e-05, 0.004711151, -0.9999891, -0.0016315579, 0.9999878, 0.0047113, -0.0003855601, 0.23079997, -0.00029096752)
|
||||
|
||||
[node name="Physical Bone foot_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="20" unique_id=928779467]
|
||||
transform = Transform3D(-0.9150249, -0.031225113, 0.4021873, -0.0030318175, 0.9975039, 0.0705467, -0.40338624, 0.06333262, -0.9128355, -0.09310125, 0.036554992, 0.003934089)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.3675514e-05, 0.04898055, 0.061673645)
|
||||
body_offset = Transform3D(0.9999961, 0.002770692, -0.00020110607, 0.0014511645, -0.5827897, -0.8126219, -0.0023688078, 0.81261855, -0.58279145, -0.00016698241, 0.07866265, -0.0038595237)
|
||||
|
||||
[node name="Physical Bone toebase_R" parent="PlayerCharacter3D/SK_Mixamo/Mixamo/Skeleton3D/MixamoBoneSimulator3D" parent_id_path=PackedInt32Array(513899147, 581893179, 1854161429) index="21" unique_id=535152855]
|
||||
transform = Transform3D(-0.94841224, 0.02497278, -0.31605485, 0.03378009, 0.9991779, -0.022417637, 0.31523517, -0.03193752, -0.9484761, -0.13446558, 0.0343482, 0.084642515)
|
||||
collision_layer = 64
|
||||
collision_mask = 8192
|
||||
joint_offset = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.033299, -0.031088049, 0.028577793)
|
||||
body_offset = Transform3D(0.7522158, -3.744848e-05, 0.65891683, 0.65891695, -7.423945e-05, -0.752216, 7.718522e-05, 1, -3.125146e-05, 0.0062164813, 0.04343564, 0.031091511)
|
||||
|
||||
[node name="CameraFollowTarget" type="Node3D" parent="PlayerCharacter3D" unique_id=849217898]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
|
||||
[node name="PlayerCamera3D" parent="PlayerCharacter3D/CameraFollowTarget" unique_id=832857779 node_paths=PackedStringArray("follow_target") instance=ExtResource("2_4jc4t")]
|
||||
follow_target = NodePath("..")
|
||||
|
||||
[node name="SliceRingRoot" type="Node3D" parent="PlayerCharacter3D" unique_id=1715642888]
|
||||
transform = Transform3D(0.99996436, -0.0015026098, -0.008300118, 0.0014229976, 0.9999531, -0.009591021, 0.008314103, 0.009578757, 0.99991953, -0.0030320361, 1.0401608, -0.007876307)
|
||||
|
||||
[node name="SliceRingSpawner" type="Node3D" parent="PlayerCharacter3D/SliceRingRoot" unique_id=1363891669]
|
||||
transform = Transform3D(1, 1.0186341e-10, 9.313226e-10, -2.910383e-11, 1, 0, 9.313226e-10, 0, 1, 0.0037398387, 0.3031026, 0.3956884)
|
||||
script = ExtResource("5_8jdat")
|
||||
slice_ring_class = ExtResource("4_sdxab")
|
||||
|
||||
[node name="PlayerMovementHandler" parent="PlayerCharacter3D" unique_id=1868881040 node_paths=PackedStringArray("character", "player_camera", "slice_ring_spawner") instance=ExtResource("3_4jc4t")]
|
||||
character = NodePath("..")
|
||||
player_camera = NodePath("../CameraFollowTarget/PlayerCamera3D")
|
||||
slice_ring_spawner = NodePath("../SliceRingRoot/SliceRingSpawner")
|
||||
_gravity_multiplier = 2.5
|
||||
|
||||
[connection signal="fell_out_of_world" from="PlayerCharacter3D" to="." method="_on_fell_out_of_world"]
|
||||
|
||||
[editable path="PlayerCharacter3D"]
|
||||
[editable path="PlayerCharacter3D/SK_Mixamo"]
|
||||
[editable path="PlayerCharacter3D/PlayerMovementHandler"]
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3 uid="uid://dhck4i8urax22"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://0lx4ngfees3q" path="res://Classes/Character3D.tscn" id="1_cuu4l"]
|
||||
[ext_resource type="Script" uid="uid://cjd3p5p41vqyj" path="res://Classes/PlayerCharacter/player_character_3d.gd" id="1_ph0or"]
|
||||
[ext_resource type="PackedScene" uid="uid://clq35hqimrb1e" path="res://Classes/PlayerCharacter/PlayerCamera3D.tscn" id="2_4jc4t"]
|
||||
[ext_resource type="PackedScene" uid="uid://rn3sy0dl4o0n" path="res://Classes/PlayerCharacter/PlayerMovementHandler.tscn" id="3_4jc4t"]
|
||||
[ext_resource type="PackedScene" uid="uid://cv5uncwb0f3yf" path="res://Assets/SM_SliceRing.gltf" id="4_sdxab"]
|
||||
[ext_resource type="Script" uid="uid://cpvwd36exce1n" path="res://Assets/slice_ring.gd" id="5_jka4s"]
|
||||
[ext_resource type="InputResource" uid="uid://chdohrtepnymk" path="res://Input/slice_ring_movement.tres" id="6_y1las"]
|
||||
|
||||
[node name="PlayerCharacter3D" type="Node3D" unique_id=126761780 node_paths=PackedStringArray("_movement_handler", "_camera_follow_target")]
|
||||
script = ExtResource("1_ph0or")
|
||||
_movement_handler = NodePath("PlayerMovementHandler")
|
||||
_player_camera_node = ExtResource("2_4jc4t")
|
||||
_camera_follow_target = NodePath("Character3D/CameraFollowTarget")
|
||||
|
||||
[node name="Character3D" parent="." unique_id=513899147 instance=ExtResource("1_cuu4l")]
|
||||
collision_layer = 16
|
||||
collision_mask = 33
|
||||
|
||||
[node name="CameraFollowTarget" type="Node3D" parent="Character3D" unique_id=849217898]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
|
||||
[node name="SM_SliceRing2" parent="Character3D" unique_id=805690143 instance=ExtResource("4_sdxab")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1977729, 0.31721425)
|
||||
script = ExtResource("5_jka4s")
|
||||
slice_ring_input = ExtResource("6_y1las")
|
||||
|
||||
[node name="PlayerMovementHandler" parent="." unique_id=1868881040 node_paths=PackedStringArray("character") instance=ExtResource("3_4jc4t")]
|
||||
character = NodePath("../Character3D")
|
||||
_gravity_multiplier = 2.5
|
||||
|
||||
[connection signal="fell_out_of_world" from="Character3D" to="." method="_on_fell_out_of_world"]
|
||||
@@ -0,0 +1,168 @@
|
||||
[gd_scene format=3 uid="uid://rn3sy0dl4o0n"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bc2sn2m81a5xr" path="res://Assets/Classes/PlayerCharacter/player_movement_handler.gd" id="1_1bdm0"]
|
||||
[ext_resource type="InputResource" uid="uid://cpe4kejnk3po0" path="res://Assets/Input/player_movement_standard.tres" id="2_88wcs"]
|
||||
[ext_resource type="InputResource" uid="uid://cmgrp420ec2r4" path="res://Assets/Input/player_movement_slice_time.tres" id="3_88wcs"]
|
||||
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="3_cor2a"]
|
||||
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="4_dkwod"]
|
||||
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="5_cqcp7"]
|
||||
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="6_wsip1"]
|
||||
|
||||
[node name="PlayerMovementHandler" type="Node" unique_id=1868881040]
|
||||
script = ExtResource("1_1bdm0")
|
||||
_walk_reaction_speed = 5.0
|
||||
_walk_turn_speed = 35.0
|
||||
_player_movement_standard = ExtResource("2_88wcs")
|
||||
_player_movement_slice_time = ExtResource("3_88wcs")
|
||||
_gravity_multiplier = 2.0
|
||||
_terminal_velocity = 18.0
|
||||
|
||||
[node name="StandardMovementChart" type="Node" parent="." unique_id=369988516]
|
||||
script = ExtResource("3_cor2a")
|
||||
metadata/_custom_type_script = "uid://couw105c3bde4"
|
||||
|
||||
[node name="Movement" type="Node" parent="StandardMovementChart" unique_id=2080058321]
|
||||
script = ExtResource("4_dkwod")
|
||||
initial_state = NodePath("Airborne")
|
||||
|
||||
[node name="Grounded" type="Node" parent="StandardMovementChart/Movement" unique_id=2108130578]
|
||||
script = ExtResource("4_dkwod")
|
||||
initial_state = NodePath("Walking")
|
||||
|
||||
[node name="Walking" type="Node" parent="StandardMovementChart/Movement/Grounded" unique_id=2129688824]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="OnFall" type="Node" parent="StandardMovementChart/Movement/Grounded/Walking" unique_id=456126174]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../../Airborne/CoyoteTime")
|
||||
event = &"fall"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="OnJump" type="Node" parent="StandardMovementChart/Movement/Grounded/Walking" unique_id=1699782188]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../../Airborne/Jumping")
|
||||
event = &"jump"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="OnSliceTime" type="Node" parent="StandardMovementChart/Movement/Grounded/Walking" unique_id=185358251]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../SliceTime")
|
||||
event = &"slice_time"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Landed" type="Node" parent="StandardMovementChart/Movement/Grounded" unique_id=415588808]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="OnFinishedLanding" type="Node" parent="StandardMovementChart/Movement/Grounded/Landed" unique_id=1266972036]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Walking")
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="SliceTime" type="Node" parent="StandardMovementChart/Movement/Grounded" unique_id=979757251]
|
||||
script = ExtResource("4_dkwod")
|
||||
initial_state = NodePath("Start")
|
||||
|
||||
[node name="Start" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime" unique_id=1564396171]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="StartAiming" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime/Start" unique_id=1557668121]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Aim")
|
||||
delay_in_seconds = "0.666666666666"
|
||||
|
||||
[node name="Aim" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime" unique_id=36548716]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="Slice" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime/Aim" unique_id=81820434]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Slice")
|
||||
event = &"slice"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="NoMoreSliceTime" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime/Aim" unique_id=703900248]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../../..")
|
||||
event = &"no_more_slice_time"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Walk" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime" unique_id=1499026317]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="NoMoreSliceTime" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime/Walk" unique_id=1204488847]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../../..")
|
||||
event = &"no_more_slice_time"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="Slice" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime" unique_id=83365186]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="BackToAiming" type="Node" parent="StandardMovementChart/Movement/Grounded/SliceTime/Slice" unique_id=479051715]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Aim")
|
||||
delay_in_seconds = "0.2"
|
||||
|
||||
[node name="Airborne" type="Node" parent="StandardMovementChart/Movement" unique_id=895130492]
|
||||
script = ExtResource("4_dkwod")
|
||||
initial_state = NodePath("Falling")
|
||||
|
||||
[node name="OnStopFalling" type="Node" parent="StandardMovementChart/Movement/Airborne" unique_id=1602778224]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Grounded/Walking")
|
||||
event = &"stop_falling"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="CoyoteTime" type="Node" parent="StandardMovementChart/Movement/Airborne" unique_id=747454597]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="OnCoyoteTimeJump" type="Node" parent="StandardMovementChart/Movement/Airborne/CoyoteTime" unique_id=731374978]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Jumping")
|
||||
event = &"jump"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="OnCoyoteTimeExpired" type="Node" parent="StandardMovementChart/Movement/Airborne/CoyoteTime" unique_id=1316748922]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../Falling")
|
||||
delay_in_seconds = "0.085"
|
||||
|
||||
[node name="Jumping" type="Node" parent="StandardMovementChart/Movement/Airborne" unique_id=1406435599]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="OnStopJumping" type="Node" parent="StandardMovementChart/Movement/Airborne/Jumping" unique_id=831785997]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../CancelJump")
|
||||
event = &"stop_jumping"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[node name="CancelJump" type="Node" parent="StandardMovementChart/Movement/Airborne" unique_id=446764118]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="Falling" type="Node" parent="StandardMovementChart/Movement/Airborne" unique_id=2015636007]
|
||||
script = ExtResource("5_cqcp7")
|
||||
|
||||
[node name="OnLand" type="Node" parent="StandardMovementChart/Movement/Airborne/Falling" unique_id=1474614311]
|
||||
script = ExtResource("6_wsip1")
|
||||
to = NodePath("../../../Grounded/Landed")
|
||||
event = &"land"
|
||||
delay_in_seconds = "0.0"
|
||||
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Grounded/Walking" to="." method="_on_walking_state_entered"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Grounded/Walking" to="." method="_on_walking_state_physics_processing"]
|
||||
[connection signal="state_processing" from="StandardMovementChart/Movement/Grounded/Walking" to="." method="_on_walking_state_processing"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Grounded/Landed" to="." method="_on_landed_state_entered"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Grounded/Landed" to="." method="_on_landed_state_physics_processing"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Grounded/SliceTime" to="." method="_on_slice_time_state_entered"]
|
||||
[connection signal="state_exited" from="StandardMovementChart/Movement/Grounded/SliceTime" to="." method="_on_slice_time_state_exited"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Grounded/SliceTime" to="." method="_on_slice_time_state_physics_processing"]
|
||||
[connection signal="state_processing" from="StandardMovementChart/Movement/Grounded/SliceTime" to="." method="_on_slice_time_state_processing"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Grounded/SliceTime/Aim" to="." method="_on_slice_time_aim_state_entered"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Grounded/SliceTime/Aim" to="." method="_on_slice_time_aim_state_physics_processing"]
|
||||
[connection signal="state_processing" from="StandardMovementChart/Movement/Grounded/SliceTime/Aim" to="." method="_on_slice_time_aim_state_processing"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Grounded/SliceTime/Slice" to="." method="_on_slice_time_slice_state_entered"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Airborne/CoyoteTime" to="." method="_on_coyote_time_state_entered"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Airborne/CoyoteTime" to="." method="_on_coyote_time_state_physics_processing"]
|
||||
[connection signal="state_processing" from="StandardMovementChart/Movement/Airborne/CoyoteTime" to="." method="_on_coyote_time_state_processing"]
|
||||
[connection signal="state_entered" from="StandardMovementChart/Movement/Airborne/Falling" to="." method="_on_falling_state_entered"]
|
||||
[connection signal="state_physics_processing" from="StandardMovementChart/Movement/Airborne/Falling" to="." method="_on_falling_state_physics_processing"]
|
||||
[connection signal="state_processing" from="StandardMovementChart/Movement/Airborne/Falling" to="." method="_on_falling_state_processing"]
|
||||
@@ -0,0 +1,42 @@
|
||||
[gd_scene format=3 uid="uid://bb722x8kppyc"]
|
||||
|
||||
[ext_resource type="ArrayMesh" uid="uid://cv5uncwb0f3yf" path="res://Assets/Visuals/Meshes/SM_SliceRing.gltf" id="1_4vtp3"]
|
||||
[ext_resource type="Script" uid="uid://cpvwd36exce1n" path="res://Assets/Scripts/slice_ring.gd" id="1_uahgr"]
|
||||
[ext_resource type="InputResource" uid="uid://chdohrtepnymk" path="res://Assets/Input/slice_ring_movement.tres" id="3_4vtp3"]
|
||||
[ext_resource type="Material" uid="uid://li04p3pck0c4" path="res://Assets/Visuals/Materials/M_SliceRing_LowPower.material" id="4_jfsaa"]
|
||||
[ext_resource type="Material" uid="uid://cjxkiin3n8lj6" path="res://Assets/Visuals/Materials/M_SliceRing_HighPower.material" id="4_pceg6"]
|
||||
[ext_resource type="Shape3D" uid="uid://5wklr05bp58i" path="res://Assets/Visuals/Meshes/CustomColliders/C_SliceRing.shape" id="7_12y3u"]
|
||||
|
||||
[node name="SliceRing" type="Node3D" unique_id=1654268887 node_paths=PackedStringArray("slice_ring_mesh")]
|
||||
script = ExtResource("1_uahgr")
|
||||
slice_ring_mesh = NodePath("SM_SliceRing")
|
||||
slice_ring_hurtbox = "uid://vc2npve1t2wk"
|
||||
slice_ring_input = ExtResource("3_4vtp3")
|
||||
_flick_detection_timer_delay = 0.035
|
||||
_random_slice_positions_horizontal = Array[float]([15.65, 163.48, 8.31, 172.23])
|
||||
_random_slice_positions_vertical = Array[float]([98.38, 282.49, 89.68, 250.19])
|
||||
_high_power_material = ExtResource("4_pceg6")
|
||||
_low_power_material = ExtResource("4_jfsaa")
|
||||
|
||||
[node name="SM_SliceRing" type="MeshInstance3D" parent="." unique_id=1894787403]
|
||||
mesh = ExtResource("1_4vtp3")
|
||||
|
||||
[node name="SliceRingCollisionArea" type="Area3D" parent="SM_SliceRing" unique_id=1717206285]
|
||||
collision_layer = 4096
|
||||
collision_mask = 16384
|
||||
|
||||
[node name="SliceRingCollisionShape" type="CollisionShape3D" parent="SM_SliceRing/SliceRingCollisionArea" unique_id=1207673546]
|
||||
shape = ExtResource("7_12y3u")
|
||||
debug_color = Color(0.39215687, 0, 0.78431374, 1)
|
||||
|
||||
[node name="FlickTimer" type="Timer" parent="." unique_id=1436023842]
|
||||
wait_time = 0.05
|
||||
one_shot = true
|
||||
|
||||
[node name="SliceTimer" type="Timer" parent="." unique_id=363546292]
|
||||
wait_time = 0.225
|
||||
one_shot = true
|
||||
|
||||
[connection signal="area_shape_entered" from="SM_SliceRing/SliceRingCollisionArea" to="SM_SliceRing/SliceRingCollisionArea" method="_on_target_detected"]
|
||||
[connection signal="timeout" from="FlickTimer" to="." method="_on_flick_timer_timeout"]
|
||||
[connection signal="timeout" from="SliceTimer" to="." method="_on_slice_timer_timeout"]
|
||||
@@ -0,0 +1,102 @@
|
||||
class_name PlayerCamera3D
|
||||
extends Node3D
|
||||
|
||||
@export var follow_target : Node3D
|
||||
@export_range(0.0, 5.0, 0.05) var follow_max_distance : float = 1.0
|
||||
@export_range(0.05, 20.0, 0.05) var follow_speed : float = 1.0
|
||||
@export var follow_distance_curve : Curve
|
||||
@export var animation_tree : AnimationTree
|
||||
|
||||
@export_category("Nodes")
|
||||
@export var camera : Camera3D
|
||||
@export var state_chart : StateChart
|
||||
@export var gimbal_x : Node3D
|
||||
@export var gimbal_y : Node3D
|
||||
|
||||
@export_category("Input Settings")
|
||||
@export var _camera_movement_speed : Vector2 = Vector2.ONE
|
||||
@export var _camera_accelerate_speed : float = 1.0
|
||||
|
||||
@export_category("Input Resources")
|
||||
@export var _camera_movement_resource : InputResource
|
||||
|
||||
var _reset_orientation : Vector2 = Vector2.ZERO
|
||||
|
||||
var _target_camera_orientation : Vector2 = Vector2.ZERO
|
||||
|
||||
var _debug_input_resource : InputResource
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
_reset_orientation = Vector2(gimbal_y.rotation.y, gimbal_x.rotation.x)
|
||||
if follow_target: global_position = follow_target.global_position
|
||||
|
||||
_target_camera_orientation = _reset_orientation
|
||||
|
||||
InputHandler.add_input_resource(self, _camera_movement_resource)
|
||||
|
||||
_debug_input_resource = load("uid://xh7ux5jkfxle")
|
||||
InputHandler.add_input_resource(self, _debug_input_resource)
|
||||
|
||||
top_level = true
|
||||
|
||||
|
||||
func _physics_process(_delta:float) -> void:
|
||||
gimbal_y.rotation.y = lerp_angle(gimbal_y.rotation.y, -_target_camera_orientation.x, _camera_accelerate_speed * _delta)
|
||||
gimbal_x.rotation.x = lerp_angle(gimbal_x.rotation.x, _target_camera_orientation.y, _camera_accelerate_speed * _delta)
|
||||
|
||||
if follow_target:
|
||||
var max_position : Vector3 = (global_position - follow_target.global_position).normalized() * follow_max_distance
|
||||
global_position = lerp(global_position, follow_target.global_position, follow_distance_curve.sample_baked(max_position.length()) * follow_speed * _delta)
|
||||
if global_position.distance_squared_to(follow_target.global_position) > (follow_target.global_position + max_position).distance_squared_to(follow_target.global_position):
|
||||
global_position = (follow_target.global_position + max_position)
|
||||
|
||||
|
||||
func _on_camera_rotate_2d(_delta:float, _vector:Vector2) -> void:
|
||||
_on_camera_rotate(_delta, _vector)
|
||||
func _on_camera_rotate_mouse(_delta:float, _vector:Vector2) -> void:
|
||||
_on_camera_rotate(_delta, _vector)
|
||||
func _on_camera_rotate(_delta:float, _vector:Vector2) -> void:
|
||||
_target_camera_orientation += _vector * _camera_movement_speed * _delta
|
||||
const rotation_limit = (PI / 2.0) - 0.075
|
||||
_target_camera_orientation.y = clamp(_target_camera_orientation.y, -rotation_limit, rotation_limit)
|
||||
|
||||
func _on_camera_reset_pressed() -> void:
|
||||
_target_camera_orientation = _reset_orientation
|
||||
_target_camera_orientation.x -= follow_target.global_rotation.y
|
||||
|
||||
|
||||
func _on___debug_show_performance_pressed() -> void:
|
||||
DebugMenu.visible = !DebugMenu.visible
|
||||
|
||||
func _on___debug_debugdraw_disabled_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_DISABLED
|
||||
func _on___debug_debugdraw_wireframe_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_WIREFRAME
|
||||
func _on___debug_debugdraw_normalbuffer_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_NORMAL_BUFFER
|
||||
func _on___debug_debugdraw_overdraw_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_OVERDRAW
|
||||
func _on___debug_debugdraw_ssao_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_SSAO
|
||||
func _on___debug_debugdraw_sdfgi_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_SDFGI
|
||||
func _on___debug_debugdraw_ssil_pressed() -> void:
|
||||
get_viewport().debug_draw = Viewport.DEBUG_DRAW_SSIL
|
||||
|
||||
|
||||
func _on_standard_state_entered() -> void:
|
||||
InputHandler.add_input_resource(self, _camera_movement_resource)
|
||||
_on_camera_reset_pressed()
|
||||
|
||||
|
||||
func _on_slice_time_state_entered() -> void:
|
||||
InputHandler.remove_input_resource(self, _camera_movement_resource)
|
||||
_on_camera_reset_pressed()
|
||||
animation_tree["parameters/playback"].travel("slice_time_zoom_in")
|
||||
|
||||
func _on_slice_time_state_exited() -> void:
|
||||
animation_tree["parameters/playback"].travel("standard_zoom")
|
||||
|
||||
func _on_slice_time_state_physics_processing(_delta:float) -> void:
|
||||
gimbal_y.global_rotation.y = follow_target.global_rotation.y
|
||||
@@ -0,0 +1 @@
|
||||
uid://dsc716f1ib7si
|
||||
@@ -0,0 +1,8 @@
|
||||
class_name PlayerCharacter3D
|
||||
extends Node3D
|
||||
|
||||
signal player_has_died
|
||||
|
||||
|
||||
func _on_fell_out_of_world() -> void:
|
||||
emit_signal("player_has_died")
|
||||
@@ -0,0 +1 @@
|
||||
uid://cjd3p5p41vqyj
|
||||
@@ -0,0 +1,208 @@
|
||||
class_name RootMovementHandler
|
||||
extends Node
|
||||
|
||||
@export_category("Nodes")
|
||||
@export var character : Character3D
|
||||
@export var player_camera : PlayerCamera3D
|
||||
@export var slice_ring_spawner : SliceRingSpawner
|
||||
|
||||
@export_category("Input Settings")
|
||||
@export var _walk_reaction_speed : float = 1.0
|
||||
@export var _walk_turn_speed : float = 10.0
|
||||
|
||||
@export_category("Input Resources")
|
||||
@export var _player_movement_standard : InputResource
|
||||
@export var _player_movement_slice_time : InputResource
|
||||
|
||||
@export_category("Physics Constants")
|
||||
@export_range(0.0, 10.0, 0.01) var _gravity_multiplier : float = 1.0
|
||||
@export_range(0.0, 100.0, 0.1) var _terminal_velocity : float = 35.0
|
||||
@export_range(0.0, 10.0, 0.05) var _air_acceleration : float = 6.0
|
||||
@export_range(0.0, 20.0, 0.05) var _max_air_velocity : float = 6.0
|
||||
@export_range(0.0, 10.0, 0.05) var _drag : float = 1.0
|
||||
|
||||
@export_range(0.0, 50.0, 0.05) var _slice_time_aim_blend_speed = 30.0
|
||||
|
||||
@onready var _state_chart : StateChart = $StandardMovementChart
|
||||
|
||||
var _target_movement_vector : Vector2 = Vector2.ZERO
|
||||
var _current_movement_speed : float = 0.0
|
||||
var _lateral_motion_accumulator : Vector3 = Vector3.ZERO
|
||||
var _gravity : float = 0.0
|
||||
|
||||
var _slice_time_aim_blend : float = 0.0
|
||||
var _slice_time_tilt : float = 0.5
|
||||
var _slice_time_angle : float = 0.0
|
||||
|
||||
signal state_changed(StringName)
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
InputHandler.add_input_resource(self, _player_movement_standard)
|
||||
|
||||
character.character_skeleton.animation_tree.advance_expression_base_node = self.get_path()
|
||||
|
||||
|
||||
func _on_movement_2d(_delta:float, _vector:Vector2) -> void:
|
||||
_target_movement_vector = _vector
|
||||
func _on_slice_time_rotate_2d(_delta:float, _vector:Vector2) -> void:
|
||||
_target_movement_vector = _vector
|
||||
|
||||
func _on_jump_pressed() -> void:
|
||||
pass
|
||||
|
||||
func _on_slice_time_pressed() -> void:
|
||||
_state_chart.send_event("slice_time")
|
||||
func _on_slice_time_released() -> void:
|
||||
_state_chart.send_event("no_more_slice_time")
|
||||
|
||||
|
||||
func _on_walking_state_entered() -> void:
|
||||
_lateral_motion_accumulator = Vector3.ZERO
|
||||
_gravity = 0.0
|
||||
emit_signal("state_changed", "walk")
|
||||
func _on_coyote_time_state_entered() -> void:
|
||||
_on_walking_state_entered()
|
||||
|
||||
func _on_walking_state_processing(_delta:float) -> void:
|
||||
_root_motion_walk_process(_delta)
|
||||
_camera_relative_heading_process(_delta)
|
||||
func _on_coyote_time_state_processing(_delta: float) -> void:
|
||||
_on_walking_state_processing(_delta)
|
||||
|
||||
func _on_walking_state_physics_processing(_delta:float) -> void:
|
||||
_lateral_movement_physics_process(_delta)
|
||||
#_gravity_physics_process(_delta)
|
||||
_move_character()
|
||||
|
||||
if !character.is_on_floor():
|
||||
_state_chart.send_event("fall")
|
||||
_gravity = 0.0
|
||||
func _on_coyote_time_state_physics_processing(_delta: float) -> void:
|
||||
_on_walking_state_physics_processing(_delta)
|
||||
|
||||
|
||||
func _on_falling_state_entered() -> void:
|
||||
_gravity = 0.0
|
||||
_lateral_motion_accumulator = character.velocity
|
||||
|
||||
func _on_falling_state_processing(_delta:float) -> void:
|
||||
_camera_relative_heading_process(_delta)
|
||||
_physics_movement_accumulation_process(_delta)
|
||||
|
||||
func _on_falling_state_physics_processing(_delta:float) -> void:
|
||||
_physics_movement_physics_process(_delta)
|
||||
_gravity_physics_process(_delta)
|
||||
_move_character()
|
||||
|
||||
if character.is_on_floor():
|
||||
_state_chart.send_event("land")
|
||||
|
||||
|
||||
func _on_landed_state_entered() -> void:
|
||||
emit_signal("state_changed", "landed")
|
||||
|
||||
func _on_landed_state_physics_processing(_delta:float) -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_slice_time_state_entered() -> void:
|
||||
InputHandler.remove_input_resource(self, _player_movement_standard)
|
||||
InputHandler.add_input_resource(self, _player_movement_slice_time)
|
||||
_reset_all_movement()
|
||||
character.character_skeleton.animation_tree["parameters/playback"].travel("slice_time")
|
||||
_slice_time_tilt = 0.5
|
||||
player_camera.state_chart.send_event("slice_time")
|
||||
slice_ring_spawner.spawn(self, true);
|
||||
func _on_slice_time_state_exited() -> void:
|
||||
_reset_all_movement()
|
||||
character.character_skeleton.animation_tree["parameters/playback"].travel("walk")
|
||||
slice_ring_spawner.despawn()
|
||||
InputHandler.remove_input_resource(self, _player_movement_slice_time)
|
||||
InputHandler.add_input_resource(self, _player_movement_standard)
|
||||
player_camera.state_chart.send_event("no_more_slice_time")
|
||||
|
||||
func _on_slice_time_state_processing(_delta:float) -> void:
|
||||
_root_motion_accumulation_process(_delta)
|
||||
character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_pitch/seek_request"] = _slice_time_tilt
|
||||
#character.character_skeleton.animation_tree["parameters/slice_time_active/aim_angle/seek_request"] = 0.0
|
||||
|
||||
func _on_slice_time_state_physics_processing(_delta:float) -> void:
|
||||
_lateral_movement_physics_process(_delta)
|
||||
_move_character()
|
||||
|
||||
func _on_slice_time_aim_state_entered() -> void:
|
||||
var _slice_time_input : InputAction = _player_movement_standard.find_input_action("slice_time")
|
||||
if not _slice_time_input or not _slice_time_input.is_active():
|
||||
_state_chart.send_event("no_more_slice_time")
|
||||
|
||||
func _on_slice_time_aim_state_processing(_delta:float) -> void:
|
||||
_slice_time_tilt = clampf(_slice_time_tilt + (_target_movement_vector.y * _delta), 0.0, 1.0)
|
||||
|
||||
var old_blend_time : float = character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_angle_blend/blend_amount"] as float
|
||||
character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_angle_blend/blend_amount"] = lerpf(old_blend_time, _slice_time_aim_blend, _slice_time_aim_blend_speed * _delta)
|
||||
|
||||
character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_angle/seek_request"] = _slice_time_angle
|
||||
|
||||
var old_slice_tilt : float = character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_pitch/seek_request"]
|
||||
character.character_skeleton.animation_tree["parameters/slice_time/slice_time_idle/slice_time_pitch/seek_request"] = lerpf(old_slice_tilt, _slice_time_tilt, _slice_time_aim_blend_speed * _delta)
|
||||
|
||||
func _on_slice_time_aim_state_physics_processing(_delta:float) -> void:
|
||||
_slice_time_rotation_physics_process(_delta)
|
||||
|
||||
func _on_slice_time_slice_state_entered() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _move_character():
|
||||
character.move_and_slide()
|
||||
|
||||
func _root_motion_walk_process(_delta:float) -> void:
|
||||
_current_movement_speed = lerpf(_current_movement_speed, _target_movement_vector.length_squared(), _delta * _walk_reaction_speed)
|
||||
character.character_skeleton.animation_tree["parameters/walk/blend_position"] = _current_movement_speed
|
||||
_root_motion_accumulation_process(_delta)
|
||||
|
||||
func _root_motion_accumulation_process(_delta:float) -> void:
|
||||
var root_motion_speed : Vector3 = character.quaternion * character.character_skeleton.animation_tree.get_root_motion_position()
|
||||
if root_motion_speed.length_squared() >= 0.00000000:
|
||||
_lateral_motion_accumulator += root_motion_speed
|
||||
|
||||
func _camera_relative_heading_process(_delta:float):
|
||||
var _target_movement_length_squared : float = _target_movement_vector.length_squared()
|
||||
if _target_movement_length_squared >= 0.0001:
|
||||
var _camera_relative_rotation : Quaternion = \
|
||||
Quaternion(Vector3(_target_movement_vector.x, 0.0, _target_movement_vector.y).normalized(), \
|
||||
Vector3(-player_camera.camera.global_basis.z.x, 0.0, -player_camera.camera.global_basis.z.z).normalized())
|
||||
character.quaternion = character.quaternion.slerp(_camera_relative_rotation, _delta * _walk_turn_speed)
|
||||
|
||||
func _lateral_movement_physics_process(_delta:float) -> void:
|
||||
character.velocity = _lateral_motion_accumulator / _delta
|
||||
_lateral_motion_accumulator = Vector3.ZERO
|
||||
|
||||
func _physics_movement_accumulation_process(_delta:float) -> void:
|
||||
_lateral_motion_accumulator = _lateral_motion_accumulator.lerp(character.basis.z * _max_air_velocity, _target_movement_vector.length_squared() * _delta * _air_acceleration)
|
||||
|
||||
func _physics_movement_physics_process(_delta:float) -> void:
|
||||
_lateral_motion_accumulator = _lateral_motion_accumulator.lerp(Vector3.ZERO, _drag * _delta * (1.0 - _target_movement_vector.length_squared()))
|
||||
character.velocity = _lateral_motion_accumulator
|
||||
|
||||
func _slice_time_rotation_physics_process(_delta:float) -> void:
|
||||
character.rotate_y(-_target_movement_vector.x * _delta * 1.5)
|
||||
|
||||
func _on_slice_aim_update(_is_aiming:bool, _angle:float) -> void:
|
||||
_slice_time_angle = 1.0 - (absf(_angle - PI) / TAU)
|
||||
_slice_time_aim_blend = 1.0 if _is_aiming else 0.0
|
||||
func _on_slice_executed() -> void:
|
||||
_state_chart.send_event("slice")
|
||||
|
||||
func _gravity_physics_process(_delta:float) -> void:
|
||||
_gravity = clamp(_gravity + (ProjectSettings.get_setting("physics/3d/default_gravity") * _gravity_multiplier * _delta), 0.0, _terminal_velocity)
|
||||
character.velocity -= character.global_basis.y * _gravity
|
||||
|
||||
func _reset_all_movement() -> void:
|
||||
_target_movement_vector = Vector2.ZERO
|
||||
_current_movement_speed = 0.0
|
||||
_lateral_motion_accumulator = Vector3.ZERO
|
||||
_gravity = 0.0
|
||||
|
||||
character.character_skeleton.animation_tree["parameters/walk/blend_position"] = _current_movement_speed
|
||||
@@ -0,0 +1 @@
|
||||
uid://bc2sn2m81a5xr
|
||||
@@ -0,0 +1,18 @@
|
||||
class_name SliceRingSpawner
|
||||
extends Node3D
|
||||
|
||||
@export var slice_ring_class : PackedScene
|
||||
|
||||
var _slice_ring : SliceRing
|
||||
|
||||
|
||||
func spawn(movement_handler:RootMovementHandler, _high_power:bool = false) -> void:
|
||||
_slice_ring = slice_ring_class.instantiate()
|
||||
_slice_ring.set_high_power(_high_power)
|
||||
add_child(_slice_ring)
|
||||
|
||||
_slice_ring.connect("slice_aim_update", Callable(movement_handler, "_on_slice_aim_update"))
|
||||
_slice_ring.connect("slice_executed", Callable(movement_handler, "_on_slice_executed"))
|
||||
|
||||
func despawn() -> void:
|
||||
_slice_ring.queue_free()
|
||||
@@ -0,0 +1 @@
|
||||
uid://sv5e443msxb
|
||||
@@ -0,0 +1,2 @@
|
||||
class_name GameplayCamera
|
||||
extends Camera3D
|
||||
@@ -0,0 +1 @@
|
||||
uid://cbsye1i87ksvx
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://dmxijkl1kwrxx"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_cdesr"]
|
||||
device = -1
|
||||
button_index = 8
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_i37c6"]
|
||||
device = -1
|
||||
button_mask = 4
|
||||
position = Vector2(37, 12)
|
||||
global_position = Vector2(44, 49)
|
||||
button_index = 3
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"camera_reset"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_cdesr"), SubResource("InputEventMouseButton_i37c6")])
|
||||
@@ -0,0 +1,60 @@
|
||||
[gd_resource type="InputAxis" format=3 uid="uid://7ycvycwqhee"]
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_0k6gj"]
|
||||
device = -1
|
||||
axis = 3
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_v1vhj"]
|
||||
device = -1
|
||||
axis = 3
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_e4x8j"]
|
||||
negative = SubResource("InputEventJoypadMotion_0k6gj")
|
||||
positive = SubResource("InputEventJoypadMotion_v1vhj")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_0k6gj"]
|
||||
device = -1
|
||||
keycode = 4194322
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_v1vhj"]
|
||||
device = -1
|
||||
keycode = 4194320
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_ltliw"]
|
||||
negative = SubResource("InputEventKey_0k6gj")
|
||||
positive = SubResource("InputEventKey_v1vhj")
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_e4x8j"]
|
||||
device = -1
|
||||
axis = 2
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_ltliw"]
|
||||
device = -1
|
||||
axis = 2
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_0k6gj"]
|
||||
negative = SubResource("InputEventJoypadMotion_e4x8j")
|
||||
positive = SubResource("InputEventJoypadMotion_ltliw")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_e4x8j"]
|
||||
device = -1
|
||||
keycode = 4194319
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_ltliw"]
|
||||
device = -1
|
||||
keycode = 4194321
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_v1vhj"]
|
||||
negative = SubResource("InputEventKey_e4x8j")
|
||||
positive = SubResource("InputEventKey_ltliw")
|
||||
|
||||
[resource]
|
||||
axis_name = &"camera_rotate"
|
||||
deadzone = 0.1
|
||||
include_mouse = true
|
||||
left_right_events = Array[InputAxis2D]([SubResource("InputAxis2D_0k6gj"), SubResource("InputAxis2D_v1vhj")])
|
||||
forward_back_events = Array[InputAxis2D]([SubResource("InputAxis2D_e4x8j"), SubResource("InputAxis2D_ltliw")])
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://dfcpn18atrwpg"]
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_pfjn4"]
|
||||
device = -1
|
||||
axis = 4
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_vg57m"]
|
||||
device = -1
|
||||
keycode = 4194326
|
||||
|
||||
[resource]
|
||||
action_name = &"slice_time"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadMotion_pfjn4"), SubResource("InputEventKey_vg57m")])
|
||||
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://d1q54ggfrjnq3"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_26rbj"]
|
||||
device = -1
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_26rbj"]
|
||||
device = -1
|
||||
keycode = 32
|
||||
unicode = 32
|
||||
|
||||
[resource]
|
||||
action_name = &"jump"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_26rbj"), SubResource("InputEventKey_26rbj")])
|
||||
@@ -0,0 +1,60 @@
|
||||
[gd_resource type="InputAxis" format=3 uid="uid://dfupg3cm152ut"]
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_t6uew"]
|
||||
device = -1
|
||||
axis = 1
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_w6voo"]
|
||||
device = -1
|
||||
axis = 1
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_7w10n"]
|
||||
negative = SubResource("InputEventJoypadMotion_t6uew")
|
||||
positive = SubResource("InputEventJoypadMotion_w6voo")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_7w10n"]
|
||||
device = -1
|
||||
keycode = 87
|
||||
unicode = 119
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_ko4qf"]
|
||||
device = -1
|
||||
keycode = 83
|
||||
unicode = 115
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_ko4qf"]
|
||||
negative = SubResource("InputEventKey_7w10n")
|
||||
positive = SubResource("InputEventKey_ko4qf")
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_nnlkf"]
|
||||
device = -1
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_ugjsg"]
|
||||
device = -1
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_1bdm0"]
|
||||
negative = SubResource("InputEventJoypadMotion_nnlkf")
|
||||
positive = SubResource("InputEventJoypadMotion_ugjsg")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_t6uew"]
|
||||
device = -1
|
||||
keycode = 65
|
||||
unicode = 97
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_w6voo"]
|
||||
device = -1
|
||||
keycode = 68
|
||||
unicode = 100
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_8pwhr"]
|
||||
negative = SubResource("InputEventKey_t6uew")
|
||||
positive = SubResource("InputEventKey_w6voo")
|
||||
|
||||
[resource]
|
||||
axis_name = &"movement"
|
||||
left_right_events = Array[InputAxis2D]([SubResource("InputAxis2D_1bdm0"), SubResource("InputAxis2D_8pwhr")])
|
||||
forward_back_events = Array[InputAxis2D]([SubResource("InputAxis2D_7w10n"), SubResource("InputAxis2D_ko4qf")])
|
||||
@@ -0,0 +1,61 @@
|
||||
[gd_resource type="InputAxis" format=3 uid="uid://dq58xo838t1vr"]
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_t6uew"]
|
||||
device = -1
|
||||
axis = 1
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_w6voo"]
|
||||
device = -1
|
||||
axis = 1
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_7w10n"]
|
||||
negative = SubResource("InputEventJoypadMotion_t6uew")
|
||||
positive = SubResource("InputEventJoypadMotion_w6voo")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_7w10n"]
|
||||
device = -1
|
||||
keycode = 87
|
||||
unicode = 119
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_ko4qf"]
|
||||
device = -1
|
||||
keycode = 83
|
||||
unicode = 115
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_ko4qf"]
|
||||
negative = SubResource("InputEventKey_7w10n")
|
||||
positive = SubResource("InputEventKey_ko4qf")
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_nnlkf"]
|
||||
device = -1
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_ugjsg"]
|
||||
device = -1
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_1bdm0"]
|
||||
negative = SubResource("InputEventJoypadMotion_nnlkf")
|
||||
positive = SubResource("InputEventJoypadMotion_ugjsg")
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_t6uew"]
|
||||
device = -1
|
||||
keycode = 65
|
||||
unicode = 97
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_w6voo"]
|
||||
device = -1
|
||||
keycode = 68
|
||||
unicode = 100
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_8pwhr"]
|
||||
negative = SubResource("InputEventKey_t6uew")
|
||||
positive = SubResource("InputEventKey_w6voo")
|
||||
|
||||
[resource]
|
||||
axis_name = &"slice_time_rotate"
|
||||
deadzone = 0.333
|
||||
left_right_events = Array[InputAxis2D]([SubResource("InputAxis2D_1bdm0"), SubResource("InputAxis2D_8pwhr")])
|
||||
forward_back_events = Array[InputAxis2D]([SubResource("InputAxis2D_7w10n"), SubResource("InputAxis2D_ko4qf")])
|
||||
@@ -0,0 +1,35 @@
|
||||
[gd_resource type="InputAxis" format=3 uid="uid://ixx2d1855vx4"]
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_42ugi"]
|
||||
device = -1
|
||||
axis = 3
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_xlcof"]
|
||||
device = -1
|
||||
axis = 3
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_sjcya"]
|
||||
negative = SubResource("InputEventJoypadMotion_42ugi")
|
||||
positive = SubResource("InputEventJoypadMotion_xlcof")
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_01t1h"]
|
||||
device = -1
|
||||
axis = 2
|
||||
axis_value = -1.0
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_56ixp"]
|
||||
device = -1
|
||||
axis = 2
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputAxis2D" id="InputAxis2D_4tj37"]
|
||||
negative = SubResource("InputEventJoypadMotion_01t1h")
|
||||
positive = SubResource("InputEventJoypadMotion_56ixp")
|
||||
|
||||
[resource]
|
||||
axis_name = &"aim_slice_ring"
|
||||
include_mouse = true
|
||||
left_right_events = Array[InputAxis2D]([SubResource("InputAxis2D_4tj37")])
|
||||
forward_back_events = Array[InputAxis2D]([SubResource("InputAxis2D_sjcya")])
|
||||
@@ -0,0 +1,23 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://kjnyjst5impq"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_qkh7j"]
|
||||
device = -1
|
||||
button_index = 2
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventJoypadMotion" id="InputEventJoypadMotion_q88nb"]
|
||||
device = -1
|
||||
axis = 5
|
||||
axis_value = 1.0
|
||||
|
||||
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_ds86p"]
|
||||
device = -1
|
||||
button_mask = 1
|
||||
position = Vector2(191, 21)
|
||||
global_position = Vector2(198, 58)
|
||||
button_index = 1
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"horizontal_slice"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_qkh7j"), SubResource("InputEventJoypadMotion_q88nb"), SubResource("InputEventMouseButton_ds86p")])
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://bt3768w6y7wx3"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_jciev"]
|
||||
device = -1
|
||||
button_index = 3
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_58jnq"]
|
||||
device = -1
|
||||
button_mask = 2
|
||||
position = Vector2(112, 2)
|
||||
global_position = Vector2(119, 39)
|
||||
button_index = 2
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"vertical_slice"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_jciev"), SubResource("InputEventMouseButton_58jnq")])
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://cq5rp6gexuug5"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_jciev"]
|
||||
device = -1
|
||||
button_index = 3
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_58jnq"]
|
||||
device = -1
|
||||
button_mask = 2
|
||||
position = Vector2(112, 2)
|
||||
global_position = Vector2(119, 39)
|
||||
button_index = 2
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"strong_attack"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_jciev"), SubResource("InputEventMouseButton_58jnq")])
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://dpj5fc61mjrwm"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_vkcbb"]
|
||||
device = -1
|
||||
button_index = 6
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_l4fhs"]
|
||||
device = -1
|
||||
keycode = 4194305
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_xc1oe"]
|
||||
device = -1
|
||||
button_index = 20
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"ui_pause"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_vkcbb"), SubResource("InputEventKey_l4fhs"), SubResource("InputEventJoypadButton_xc1oe")])
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_resource type="InputAction" format=3 uid="uid://g2scisqvoke3"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_qkh7j"]
|
||||
device = -1
|
||||
button_index = 2
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventMouseButton" id="InputEventMouseButton_ds86p"]
|
||||
device = -1
|
||||
button_mask = 1
|
||||
position = Vector2(191, 21)
|
||||
global_position = Vector2(198, 58)
|
||||
button_index = 1
|
||||
pressed = true
|
||||
|
||||
[resource]
|
||||
action_name = &"weak_attack"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_qkh7j"), SubResource("InputEventMouseButton_ds86p")])
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://dji2q0ekqofcx"]
|
||||
|
||||
[ext_resource type="InputAxis" uid="uid://7ycvycwqhee" path="res://Assets/Input/InputSignalMaps/camera_rotate.tres" id="1_gs03b"]
|
||||
[ext_resource type="InputAction" uid="uid://dmxijkl1kwrxx" path="res://Assets/Input/InputSignalMaps/camera_reset.tres" id="1_r50ai"]
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([ExtResource("1_r50ai")])
|
||||
input_axes = Array[InputAxis]([ExtResource("1_gs03b")])
|
||||
@@ -0,0 +1,81 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://xh7ux5jkfxle"]
|
||||
|
||||
[sub_resource type="InputEventJoypadButton" id="InputEventJoypadButton_bgm52"]
|
||||
device = -1
|
||||
button_index = 20
|
||||
pressed = true
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_bgm52"]
|
||||
device = -1
|
||||
keycode = 96
|
||||
unicode = 96
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_bgm52"]
|
||||
action_name = &"__debug_show_performance"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventJoypadButton_bgm52"), SubResource("InputEventKey_bgm52")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_xnfg2"]
|
||||
device = -1
|
||||
keycode = 49
|
||||
unicode = 49
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_u5qib"]
|
||||
action_name = &"__debug_debugdraw_disabled"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_xnfg2")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_eulgh"]
|
||||
device = -1
|
||||
keycode = 50
|
||||
unicode = 50
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_jltft"]
|
||||
action_name = &"__debug_debugdraw_wireframe"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_eulgh")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_hv5pj"]
|
||||
device = -1
|
||||
keycode = 51
|
||||
unicode = 51
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_o5u5v"]
|
||||
action_name = &"__debug_debugdraw_normalbuffer"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_hv5pj")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_l3ex6"]
|
||||
device = -1
|
||||
keycode = 52
|
||||
unicode = 52
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_l3ex6"]
|
||||
action_name = &"__debug_debugdraw_overdraw"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_l3ex6")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_13uum"]
|
||||
device = -1
|
||||
keycode = 53
|
||||
unicode = 53
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_3pema"]
|
||||
action_name = &"__debug_debugdraw_ssao"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_13uum")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_3pema"]
|
||||
device = -1
|
||||
keycode = 54
|
||||
unicode = 54
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_huv5r"]
|
||||
action_name = &"__debug_debugdraw_sdfgi"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_3pema")])
|
||||
|
||||
[sub_resource type="InputEventKey" id="InputEventKey_imorq"]
|
||||
device = -1
|
||||
keycode = 55
|
||||
unicode = 55
|
||||
|
||||
[sub_resource type="InputAction" id="InputAction_l5vs5"]
|
||||
action_name = &"__debug_debugdraw_ssil"
|
||||
input_events = Array[InputEvent]([SubResource("InputEventKey_imorq")])
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([SubResource("InputAction_bgm52"), SubResource("InputAction_u5qib"), SubResource("InputAction_jltft"), SubResource("InputAction_o5u5v"), SubResource("InputAction_l3ex6"), SubResource("InputAction_3pema"), SubResource("InputAction_huv5r"), SubResource("InputAction_l5vs5")])
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://cmgrp420ec2r4"]
|
||||
|
||||
[ext_resource type="InputAxis" uid="uid://dq58xo838t1vr" path="res://Assets/Input/InputSignalMaps/movement_slice_time.tres" id="2_0s5f1"]
|
||||
[ext_resource type="InputAction" uid="uid://dfcpn18atrwpg" path="res://Assets/Input/InputSignalMaps/enter_slice_time_action.tres" id="3_nc7yg"]
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([ExtResource("3_nc7yg")])
|
||||
input_axes = Array[InputAxis]([ExtResource("2_0s5f1")])
|
||||
@@ -0,0 +1,10 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://cpe4kejnk3po0"]
|
||||
|
||||
[ext_resource type="InputAction" uid="uid://dfcpn18atrwpg" path="res://Assets/Input/InputSignalMaps/enter_slice_time_action.tres" id="1_8pwhr"]
|
||||
[ext_resource type="InputAction" uid="uid://g2scisqvoke3" path="res://Assets/Input/InputSignalMaps/weak_attack_input.tres" id="1_ew7g5"]
|
||||
[ext_resource type="InputAction" uid="uid://cq5rp6gexuug5" path="res://Assets/Input/InputSignalMaps/strong_attack_input.tres" id="2_nftq1"]
|
||||
[ext_resource type="InputAxis" uid="uid://dq58xo838t1vr" path="res://Assets/Input/InputSignalMaps/movement_slice_time.tres" id="4_ew7g5"]
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([ExtResource("1_ew7g5"), ExtResource("2_nftq1"), ExtResource("1_8pwhr")])
|
||||
input_axes = Array[InputAxis]([ExtResource("4_ew7g5")])
|
||||
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://chdohrtepnymk"]
|
||||
|
||||
[ext_resource type="InputAction" uid="uid://kjnyjst5impq" path="res://Assets/Input/InputSignalMaps/slice_time_horizontal_slice_input.tres" id="1_spxym"]
|
||||
[ext_resource type="InputAction" uid="uid://bt3768w6y7wx3" path="res://Assets/Input/InputSignalMaps/slice_time_vertical_slice_input.tres" id="2_115h8"]
|
||||
[ext_resource type="InputAxis" uid="uid://ixx2d1855vx4" path="res://Assets/Input/InputSignalMaps/slice_ring_rotate.tres" id="3_spxym"]
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([ExtResource("1_spxym"), ExtResource("2_115h8")])
|
||||
input_axes = Array[InputAxis]([ExtResource("3_spxym")])
|
||||
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="InputResource" format=3 uid="uid://cpvpdxs6dhjj7"]
|
||||
|
||||
[ext_resource type="InputAction" uid="uid://dpj5fc61mjrwm" path="res://Assets/Input/InputSignalMaps/ui_pause.tres" id="1_270bv"]
|
||||
|
||||
[resource]
|
||||
input_actions = Array[InputAction]([ExtResource("1_270bv")])
|
||||
Binary file not shown.
@@ -0,0 +1,69 @@
|
||||
[gd_scene format=3 uid="uid://dmm0ycdsufmic"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dhck4i8urax22" path="res://Assets/Classes/PlayerCharacter/PlayerCharacter3D.tscn" id="1_oaskl"]
|
||||
[ext_resource type="Texture2D" uid="uid://btc0nme74t0l6" path="res://Assets/Visuals/Textures/Skyboxes/industrial_sunset_puresky_4k.exr" id="2_oaskl"]
|
||||
[ext_resource type="Compositor" uid="uid://nocpbpmj23jw" path="res://Assets/Visuals/Shaders/Compositors/PostProcessCompositor.res" id="3_oaskl"]
|
||||
|
||||
[sub_resource type="GameClasses" id="GameClasses_6ql8e"]
|
||||
player_scene = ExtResource("1_oaskl")
|
||||
|
||||
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_4k50d"]
|
||||
panorama = ExtResource("2_oaskl")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_hy47e"]
|
||||
sky_material = SubResource("PanoramaSkyMaterial_4k50d")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_i4ak4"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_hy47e")
|
||||
tonemap_mode = 4
|
||||
ssr_enabled = true
|
||||
ssr_max_steps = 128
|
||||
ssao_enabled = true
|
||||
sdfgi_cascades = 5
|
||||
sdfgi_y_scale = 2
|
||||
glow_enabled = true
|
||||
glow_intensity = 0.1
|
||||
adjustment_enabled = true
|
||||
|
||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_3158n"]
|
||||
auto_exposure_enabled = true
|
||||
auto_exposure_scale = 0.8
|
||||
|
||||
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_6ql8e"]
|
||||
|
||||
[node name="LevelScene" type="LevelScene" unique_id=2026807126]
|
||||
game_classes = SubResource("GameClasses_6ql8e")
|
||||
level_death_plane = NodePath("KillPlane")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=199442323]
|
||||
environment = SubResource("Environment_i4ak4")
|
||||
camera_attributes = SubResource("CameraAttributesPractical_3158n")
|
||||
compositor = ExtResource("3_oaskl")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=383082239]
|
||||
transform = Transform3D(-0.44511947, -0.66907454, -0.5951538, 0.70797265, -0.6699047, 0.22361243, -0.5483097, -0.32181838, 0.771874, 0, 0.7965193, 0)
|
||||
light_angular_distance = 0.5
|
||||
light_cull_mask = 4293919743
|
||||
shadow_enabled = true
|
||||
shadow_caster_mask = 4293918947
|
||||
directional_shadow_split_2 = 0.138
|
||||
directional_shadow_split_3 = 0.379
|
||||
directional_shadow_blend_splits = true
|
||||
|
||||
[node name="PlayerOrigin" type="PlayerOrigin" parent="." unique_id=1658520288]
|
||||
player_scene = ExtResource("1_oaskl")
|
||||
sublevel_scenes_to_load = Array[NodePath]([NodePath("../SublevelScene")])
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.030785, -0.108988404, -5.505717)
|
||||
|
||||
[node name="SublevelScene" type="SublevelScene" parent="." unique_id=1574291217]
|
||||
sublevel = &"uid://b77fd4bv6f3p4"
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0)
|
||||
|
||||
[node name="KillPlane" type="Area3D" parent="." unique_id=1026902213]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.797154, 0)
|
||||
collision_mask = 816
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="KillPlane" unique_id=461034314]
|
||||
shape = SubResource("WorldBoundaryShape3D_6ql8e")
|
||||
debug_color = Color(1, 0, 0, 1)
|
||||
@@ -0,0 +1,82 @@
|
||||
[gd_scene format=3 uid="uid://dmm0ycdsufmic"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dhck4i8urax22" path="res://Assets/Classes/PlayerCharacter/PlayerCharacter3D.tscn" id="1_oaskl"]
|
||||
[ext_resource type="Texture2D" uid="uid://d22vlve4a6a7" path="res://Assets/Textures/zwartkops_start_morning_4k.hdr" id="2_oaskl"]
|
||||
[ext_resource type="Script" uid="uid://crtv5xh5ud5kq" path="res://Assets/Scripts/post_process_shader.gd" id="3_oaskl"]
|
||||
|
||||
[sub_resource type="GameClasses" id="GameClasses_6ql8e"]
|
||||
player_scene = ExtResource("1_oaskl")
|
||||
|
||||
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_4k50d"]
|
||||
panorama = ExtResource("2_oaskl")
|
||||
|
||||
[sub_resource type="Sky" id="Sky_hy47e"]
|
||||
sky_material = SubResource("PanoramaSkyMaterial_4k50d")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_i4ak4"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_hy47e")
|
||||
tonemap_mode = 4
|
||||
ssr_enabled = true
|
||||
ssr_max_steps = 128
|
||||
ssao_enabled = true
|
||||
sdfgi_enabled = true
|
||||
sdfgi_cascades = 5
|
||||
sdfgi_y_scale = 2
|
||||
glow_enabled = true
|
||||
adjustment_enabled = true
|
||||
|
||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_3158n"]
|
||||
auto_exposure_enabled = true
|
||||
auto_exposure_scale = 0.8
|
||||
|
||||
[sub_resource type="CompositorEffect" id="CompositorEffect_oaskl"]
|
||||
resource_local_to_scene = false
|
||||
resource_name = ""
|
||||
enabled = true
|
||||
effect_callback_type = 4
|
||||
needs_motion_vectors = false
|
||||
needs_normal_roughness = false
|
||||
script = ExtResource("3_oaskl")
|
||||
metadata/_custom_type_script = "uid://crtv5xh5ud5kq"
|
||||
|
||||
[sub_resource type="Compositor" id="Compositor_tuohd"]
|
||||
compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_oaskl")])
|
||||
|
||||
[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_6ql8e"]
|
||||
|
||||
[node name="LevelScene" type="LevelScene" unique_id=2026807126]
|
||||
game_classes = SubResource("GameClasses_6ql8e")
|
||||
level_death_plane = NodePath("KillPlane")
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=199442323]
|
||||
environment = SubResource("Environment_i4ak4")
|
||||
camera_attributes = SubResource("CameraAttributesPractical_3158n")
|
||||
compositor = SubResource("Compositor_tuohd")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=383082239]
|
||||
transform = Transform3D(-0.44511947, -0.66907454, -0.5951538, 0.70797265, -0.6699047, 0.22361243, -0.5483097, -0.32181838, 0.771874, 0, 0.7965193, 0)
|
||||
light_angular_distance = 0.5
|
||||
light_cull_mask = 4293919743
|
||||
shadow_enabled = true
|
||||
shadow_caster_mask = 4293918721
|
||||
directional_shadow_split_2 = 0.138
|
||||
directional_shadow_split_3 = 0.379
|
||||
directional_shadow_blend_splits = true
|
||||
|
||||
[node name="PlayerOrigin" type="PlayerOrigin" parent="." unique_id=1658520288]
|
||||
player_scene = ExtResource("1_oaskl")
|
||||
sublevel_scenes_to_load = Array[NodePath]([NodePath("../SublevelScene")])
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.030785, -0.108988404, -6.2080345)
|
||||
|
||||
[node name="SublevelScene" type="SublevelScene" parent="." unique_id=1574291217]
|
||||
sublevel = &"uid://b77fd4bv6f3p4"
|
||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0)
|
||||
|
||||
[node name="KillPlane" type="Area3D" parent="." unique_id=1026902213]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.797154, 0)
|
||||
collision_mask = 816
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="KillPlane" unique_id=461034314]
|
||||
shape = SubResource("WorldBoundaryShape3D_6ql8e")
|
||||
debug_color = Color(1, 0, 0, 1)
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v5.2.39",
|
||||
"version":"2.0"
|
||||
},
|
||||
"extensionsUsed":[
|
||||
"KHR_materials_specular"
|
||||
],
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"SM_KatanaPlaceholder"
|
||||
}
|
||||
],
|
||||
"materials":[
|
||||
{
|
||||
"doubleSided":true,
|
||||
"extensions":{
|
||||
"KHR_materials_specular":{
|
||||
"specularColorFactor":[
|
||||
0.4000000059604645,
|
||||
0.4000000059604645,
|
||||
0.4000000059604645
|
||||
]
|
||||
}
|
||||
},
|
||||
"name":"WorldGridMaterial",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorFactor":[
|
||||
0.800000011920929,
|
||||
0.800000011920929,
|
||||
0.800000011920929,
|
||||
1
|
||||
],
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0.5527864098548889
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"SM_KatanaPlaceholder",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2,
|
||||
"TEXCOORD_1":3,
|
||||
"TANGENT":4
|
||||
},
|
||||
"indices":5,
|
||||
"material":0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":249,
|
||||
"max":[
|
||||
0.010345259681344032,
|
||||
1.0367469787597656,
|
||||
0.021480100229382515
|
||||
],
|
||||
"min":[
|
||||
-0.010209070518612862,
|
||||
-0.2829752564430237,
|
||||
-0.1701703816652298
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":249,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":249,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":249,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5126,
|
||||
"count":249,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5123,
|
||||
"count":573,
|
||||
"type":"SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2988,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2988,
|
||||
"byteOffset":2988,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1992,
|
||||
"byteOffset":5976,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1992,
|
||||
"byteOffset":7968,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":3984,
|
||||
"byteOffset":9960,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1146,
|
||||
"byteOffset":13944,
|
||||
"target":34963
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":15092,
|
||||
"uri":"SM_KatanaPlaceholder.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c72ihrbdt1d06"
|
||||
path="res://.godot/imported/SM_KatanaPlaceholder.gltf-23f4ab7b8512c202bf8c23c0b19ab424.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/SM_KatanaPlaceholder.gltf"
|
||||
dest_files=["res://.godot/imported/SM_KatanaPlaceholder.gltf-23f4ab7b8512c202bf8c23c0b19ab424.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://1mebjx2hqcl7"
|
||||
path="res://.godot/imported/SM_Slice2_Ground.gltf-cc6f13939f6fa642a1ade0e18dbe1ca5.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/SM_Slice2_Ground.gltf"
|
||||
dest_files=["res://.godot/imported/SM_Slice2_Ground.gltf-cc6f13939f6fa642a1ade0e18dbe1ca5.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v5.2.39",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"name":"Bone.002",
|
||||
"translation":[
|
||||
0,
|
||||
1,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"name":"Bone.001"
|
||||
},
|
||||
{
|
||||
"name":"Root"
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
1,
|
||||
2
|
||||
],
|
||||
"name":"Armature"
|
||||
},
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"Icosphere",
|
||||
"skin":0
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Icosphere",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2,
|
||||
"TANGENT":3,
|
||||
"JOINTS_0":4,
|
||||
"WEIGHTS_0":5
|
||||
},
|
||||
"indices":6
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"skins":[
|
||||
{
|
||||
"inverseBindMatrices":7,
|
||||
"joints":[
|
||||
1,
|
||||
0,
|
||||
2
|
||||
],
|
||||
"name":"Armature"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":729,
|
||||
"max":[
|
||||
1,
|
||||
2,
|
||||
0.9999999403953552
|
||||
],
|
||||
"min":[
|
||||
-0.9999999403953552,
|
||||
0,
|
||||
-0.9999999403953552
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":729,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":729,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":729,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5121,
|
||||
"count":729,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":729,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"componentType":5123,
|
||||
"count":3840,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"MAT4"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":8748,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":8748,
|
||||
"byteOffset":8748,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":5832,
|
||||
"byteOffset":17496,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":11664,
|
||||
"byteOffset":23328,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2916,
|
||||
"byteOffset":34992,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":11664,
|
||||
"byteOffset":37908,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":7680,
|
||||
"byteOffset":49572,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":192,
|
||||
"byteOffset":57252
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":57444,
|
||||
"uri":"SM_TestAgain.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://g8xsinwhmss0"
|
||||
path="res://.godot/imported/SM_TestAgain.gltf-ed52e5981aa49ca1702bf46fce59244d.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/SM_TestAgain.gltf"
|
||||
dest_files=["res://.godot/imported/SM_TestAgain.gltf-ed52e5981aa49ca1702bf46fce59244d.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,94 @@
|
||||
@tool
|
||||
class_name PostProcessShader
|
||||
extends CompositorEffect
|
||||
|
||||
|
||||
@export var vignette_colour : Color = Color(0.0, 0.0, 0.0, 0.392)
|
||||
@export var vignette_pupil : float = 0.8
|
||||
@export var vignette_iris : float = 0.4
|
||||
|
||||
|
||||
# Called when this resource is constructed.
|
||||
func _init():
|
||||
effect_callback_type = CompositorEffect.EFFECT_CALLBACK_TYPE_POST_TRANSPARENT
|
||||
RenderingServer.call_on_render_thread(_initialize_compute)
|
||||
|
||||
# System notifications, we want to react on the notification that
|
||||
# alerts us we are about to be destroyed.
|
||||
func _notification(what):
|
||||
if what == NOTIFICATION_PREDELETE:
|
||||
if shader.is_valid():
|
||||
# Freeing our shader will also free any dependents such as the pipeline!
|
||||
rd.free_rid(shader)
|
||||
|
||||
var rd : RenderingDevice
|
||||
var shader : RID
|
||||
var pipeline : RID
|
||||
|
||||
## Render thread code below
|
||||
|
||||
func _initialize_compute():
|
||||
rd = RenderingServer.get_rendering_device()
|
||||
if !rd: return
|
||||
|
||||
var shader_file = load("uid://bxunu0anan320")
|
||||
var shader_spirv : RDShaderSPIRV = shader_file.get_spirv()
|
||||
shader = rd.shader_create_from_spirv(shader_spirv)
|
||||
pipeline = rd.compute_pipeline_create(shader)
|
||||
|
||||
# Called by the rendering thread every frame.
|
||||
func _render_callback(p_effect_callback_type, p_render_data):
|
||||
if rd and p_effect_callback_type == EFFECT_CALLBACK_TYPE_POST_TRANSPARENT:
|
||||
# Get our render scene buffers object, this gives us access to our render buffers.
|
||||
# Note that implementation differs per renderer hence the need for the cast.
|
||||
var render_scene_buffers: RenderSceneBuffersRD = p_render_data.get_render_scene_buffers()
|
||||
if render_scene_buffers:
|
||||
|
||||
# Loop through views just in case we're doing stereo rendering. No extra cost if this is mono.
|
||||
var view_count = render_scene_buffers.get_view_count()
|
||||
for view in range(view_count):
|
||||
# Get our render size, this is the 3D render resolution!
|
||||
var raster_size = render_scene_buffers.get_internal_size()
|
||||
if raster_size.x == 0 and raster_size.y == 0:
|
||||
return
|
||||
|
||||
# We can use a compute shader here.
|
||||
var x_groups = (raster_size.x - 1) / 8 + 1
|
||||
var y_groups = (raster_size.y - 1) / 8 + 1
|
||||
var z_groups = 1
|
||||
|
||||
# Get the RID for our color image, we will be reading from and writing to it.
|
||||
var input_image = render_scene_buffers.get_color_layer(view)
|
||||
|
||||
# Push constant.
|
||||
var push_constant: PackedFloat32Array = PackedFloat32Array()
|
||||
push_constant.push_back(raster_size.x)
|
||||
push_constant.push_back(raster_size.y)
|
||||
push_constant.push_back(0.0)
|
||||
push_constant.push_back(0.0)
|
||||
|
||||
push_constant.push_back(vignette_colour.r)
|
||||
push_constant.push_back(vignette_colour.g)
|
||||
push_constant.push_back(vignette_colour.b)
|
||||
push_constant.push_back(vignette_colour.a)
|
||||
|
||||
push_constant.push_back(vignette_pupil)
|
||||
push_constant.push_back(vignette_iris)
|
||||
push_constant.push_back(0.0)
|
||||
push_constant.push_back(0.0)
|
||||
|
||||
# Create a uniform set.
|
||||
# This will be cached; the cache will be cleared if our viewport's configuration is changed.
|
||||
var uniform: RDUniform = RDUniform.new()
|
||||
uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_IMAGE
|
||||
uniform.binding = 0
|
||||
uniform.add_id(input_image)
|
||||
var uniform_set = UniformSetCacheRD.get_cache(shader, 0, [ uniform ])
|
||||
|
||||
# Run our compute shader.
|
||||
var compute_list:= rd.compute_list_begin()
|
||||
rd.compute_list_bind_compute_pipeline(compute_list, pipeline)
|
||||
rd.compute_list_bind_uniform_set(compute_list, uniform_set, 0)
|
||||
rd.compute_list_set_push_constant(compute_list, push_constant.to_byte_array(), push_constant.size() * 4)
|
||||
rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups)
|
||||
rd.compute_list_end()
|
||||
@@ -0,0 +1 @@
|
||||
uid://crtv5xh5ud5kq
|
||||
@@ -0,0 +1,104 @@
|
||||
class_name SliceRing
|
||||
extends Node3D
|
||||
|
||||
@export var slice_ring_mesh : MeshInstance3D
|
||||
@export_file("*.scn", "*.tscn") var slice_ring_hurtbox : String
|
||||
|
||||
@export_category("Input")
|
||||
@export var slice_ring_input : InputResource
|
||||
@export var _joystick_tilt_threshold : float = 0.6
|
||||
@export var _flick_threshold : float = 0.15
|
||||
@export_range(0.01, 0.1, 0.001) var _flick_detection_timer_delay : float = 0.05
|
||||
@export var _rotation_lerp_speed : float = 20.0
|
||||
|
||||
@export var _random_slice_positions_horizontal : Array[float]
|
||||
@export var _random_slice_positions_vertical : Array[float]
|
||||
@export_range(0.02, 1.0, 0.02) var _max_time_between_cuts : float = 0.12
|
||||
|
||||
@export_category("Visuals")
|
||||
@export var _high_power_material : Material
|
||||
@export var _low_power_material : Material
|
||||
|
||||
@onready var _flick_timer : Timer = $FlickTimer
|
||||
@onready var _slice_timer : Timer = $SliceTimer
|
||||
|
||||
signal slice_aim_update(bool, float)
|
||||
signal slice_executed
|
||||
|
||||
var _is_aiming_slice : bool = false
|
||||
var _last_angle_vector_length : float = 0.0
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
slice_ring_mesh.quaternion = Quaternion.IDENTITY
|
||||
|
||||
InputHandler.add_input_resource(self, slice_ring_input)
|
||||
|
||||
func set_high_power(_high_power:bool) -> void:
|
||||
slice_ring_mesh.mesh.surface_set_material(0, _high_power_material if _high_power else _low_power_material)
|
||||
|
||||
|
||||
func _calculate_slice_angle(_delta:float, _vector:Vector2, _tilt_input:bool) -> void:
|
||||
var angle_length : float = _vector.length()
|
||||
if _slice_timer.is_stopped():
|
||||
if angle_length >= _joystick_tilt_threshold or not _tilt_input:
|
||||
var normalised_vector : Vector2 = _vector.normalized()
|
||||
var angle : float = atan2(normalised_vector.y, normalised_vector.x)
|
||||
slice_ring_mesh.quaternion = lerp(slice_ring_mesh.quaternion, Quaternion(basis.z, angle), _delta * angle_length * _rotation_lerp_speed)
|
||||
_is_aiming_slice = true
|
||||
elif _tilt_input and _last_angle_vector_length >= _joystick_tilt_threshold:
|
||||
if _flick_timer.is_inside_tree() and _flick_timer.is_stopped() and _last_angle_vector_length >= _joystick_tilt_threshold:
|
||||
_flick_timer.start(_flick_detection_timer_delay)
|
||||
emit_signal("slice_aim_update", _is_aiming_slice, slice_ring_mesh.rotation.z)
|
||||
_last_angle_vector_length = angle_length
|
||||
|
||||
func _on_flick_timer_timeout() -> void:
|
||||
if _last_angle_vector_length < _flick_threshold:
|
||||
_execute_slice()
|
||||
_is_aiming_slice = false
|
||||
emit_signal("slice_aim_update", _is_aiming_slice, 0.0)
|
||||
|
||||
func _execute_slice(_treat_as_flick:bool = true, _vertical_slices:bool = false) -> void:
|
||||
slice_ring_mesh.physics_interpolation_mode = Node.PHYSICS_INTERPOLATION_MODE_INHERIT if _treat_as_flick else Node.PHYSICS_INTERPOLATION_MODE_OFF
|
||||
|
||||
if _slice_timer.is_inside_tree() and _slice_timer.is_stopped():
|
||||
if not _treat_as_flick and not _is_aiming_slice:
|
||||
var random_roll : float = 0.0
|
||||
if _vertical_slices:
|
||||
if _random_slice_positions_vertical.size() > 0:
|
||||
random_roll = _random_slice_positions_vertical[0]
|
||||
_random_slice_positions_vertical.remove_at(0)
|
||||
_random_slice_positions_vertical.append(random_roll)
|
||||
else:
|
||||
random_roll = 90.0
|
||||
else:
|
||||
if _random_slice_positions_horizontal.size() > 0:
|
||||
random_roll = _random_slice_positions_horizontal[0]
|
||||
_random_slice_positions_horizontal.remove_at(0)
|
||||
_random_slice_positions_horizontal.append(random_roll)
|
||||
else:
|
||||
random_roll = 90.0
|
||||
slice_ring_mesh.quaternion = Quaternion(Vector3.FORWARD, deg_to_rad(random_roll))
|
||||
|
||||
var _slice_ring_hurtbox_node : HurtboxBase = load(slice_ring_hurtbox).instantiate()
|
||||
if _slice_ring_hurtbox_node:
|
||||
_slice_ring_hurtbox_node.global_transform = slice_ring_mesh.global_transform
|
||||
get_tree().root.add_child(_slice_ring_hurtbox_node)
|
||||
|
||||
emit_signal("slice_executed")
|
||||
_slice_timer.start()
|
||||
|
||||
func _on_slice_timer_timeout() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_horizontal_slice_pressed() -> void:
|
||||
_execute_slice(false, false)
|
||||
|
||||
func _on_vertical_slice_pressed() -> void:
|
||||
_execute_slice(false, true)
|
||||
|
||||
func _on_aim_slice_ring_2d(_delta:float, _vector:Vector2) -> void:
|
||||
_calculate_slice_angle(_delta, _vector, true)
|
||||
func _on_aim_slice_ring_mouse(_delta:float, _vector:Vector2) -> void:
|
||||
_calculate_slice_angle(_delta, _vector, false)
|
||||
@@ -0,0 +1 @@
|
||||
uid://cpvwd36exce1n
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 82 KiB |
@@ -0,0 +1,41 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bhshl0vs5kad4"
|
||||
path.s3tc="res://.godot/imported/T_Noise.png-7da37caa01265a8358dcb70f2f7476d3.s3tc.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/T_Noise.png"
|
||||
dest_files=["res://.godot/imported/T_Noise.png-7da37caa01265a8358dcb70f2f7476d3.s3tc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=0
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
||||
Binary file not shown.
@@ -0,0 +1,884 @@
|
||||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v4.5.48",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
10
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"name":"Chain.008",
|
||||
"rotation":[
|
||||
4.632211430296955e-23,
|
||||
-2.9015546076637994e-22,
|
||||
6.352747104407253e-22,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
-1.164670302474663e-21,
|
||||
0.24999988079071045,
|
||||
1.7470054537119944e-21
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"name":"Chain.007",
|
||||
"rotation":[
|
||||
4.632211430296955e-23,
|
||||
-2.901555617405758e-22,
|
||||
6.352747104407253e-22,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
-3.1763735522036263e-22,
|
||||
0.24999988079071045,
|
||||
1.5352472168984194e-21
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
1
|
||||
],
|
||||
"name":"Chain.006",
|
||||
"rotation":[
|
||||
4.632211430296955e-23,
|
||||
-2.9015520833089027e-22,
|
||||
4.0234064994579266e-21,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
1.376428539288238e-21,
|
||||
0.24999988079071045,
|
||||
1.2705494208814505e-21
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
2
|
||||
],
|
||||
"name":"Chain.005",
|
||||
"rotation":[
|
||||
4.632211430296955e-23,
|
||||
-2.901556627147717e-22,
|
||||
6.352747104407253e-22,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
-2.8587361969832636e-21,
|
||||
0.24999988079071045,
|
||||
1.0058516248644817e-21
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
3
|
||||
],
|
||||
"name":"Chain.004",
|
||||
"rotation":[
|
||||
-2.842170943040401e-14,
|
||||
-2.842170943040401e-14,
|
||||
-3.5998900258307764e-21,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
7.940933880509066e-22,
|
||||
0.24999988079071045,
|
||||
-1.4210853868169056e-14
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
4
|
||||
],
|
||||
"name":"Chain.003",
|
||||
"rotation":[
|
||||
1.4210854715202004e-14,
|
||||
1.4210854715202004e-14,
|
||||
2.752857078576476e-21,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
-9.529120656610879e-22,
|
||||
0.24999988079071045,
|
||||
-3.5527132552840273e-15
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
5
|
||||
],
|
||||
"name":"Chain.002",
|
||||
"rotation":[
|
||||
-1.7801298213271366e-08,
|
||||
-3.552713678800501e-15,
|
||||
6.337763091570324e-16,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
2.117582368135751e-22,
|
||||
0.24999988079071045,
|
||||
2.514629062161204e-22
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
6
|
||||
],
|
||||
"name":"Chain.001",
|
||||
"rotation":[
|
||||
-0.7071066498756409,
|
||||
4.079768700648856e-08,
|
||||
6.597247903528114e-08,
|
||||
0.70710688829422
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
7
|
||||
],
|
||||
"name":"Bone",
|
||||
"rotation":[
|
||||
0.7071067690849304,
|
||||
-5.338507591545749e-08,
|
||||
-5.338507591545749e-08,
|
||||
0.7071067690849304
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"Cylinder",
|
||||
"skin":0
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
9,
|
||||
8
|
||||
],
|
||||
"name":"Armature"
|
||||
}
|
||||
],
|
||||
"animations":[
|
||||
{
|
||||
"channels":[
|
||||
{
|
||||
"sampler":0,
|
||||
"target":{
|
||||
"node":8,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":1,
|
||||
"target":{
|
||||
"node":8,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":2,
|
||||
"target":{
|
||||
"node":8,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":3,
|
||||
"target":{
|
||||
"node":7,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":4,
|
||||
"target":{
|
||||
"node":7,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":5,
|
||||
"target":{
|
||||
"node":7,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":6,
|
||||
"target":{
|
||||
"node":6,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":7,
|
||||
"target":{
|
||||
"node":6,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":8,
|
||||
"target":{
|
||||
"node":6,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":9,
|
||||
"target":{
|
||||
"node":5,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":10,
|
||||
"target":{
|
||||
"node":5,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":11,
|
||||
"target":{
|
||||
"node":5,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":12,
|
||||
"target":{
|
||||
"node":4,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":13,
|
||||
"target":{
|
||||
"node":4,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":14,
|
||||
"target":{
|
||||
"node":4,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":15,
|
||||
"target":{
|
||||
"node":3,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":16,
|
||||
"target":{
|
||||
"node":3,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":17,
|
||||
"target":{
|
||||
"node":3,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":18,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":19,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":20,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":21,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":22,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":23,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":24,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":25,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":26,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"scale"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name":"ArmatureAction_Loop",
|
||||
"samplers":[
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":9
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":10
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":9
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":13
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":14
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":15
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":16
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":17
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":18
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":19
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":20
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":21
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":22
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":23
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":24
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":25
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":26
|
||||
},
|
||||
{
|
||||
"input":12,
|
||||
"interpolation":"LINEAR",
|
||||
"output":27
|
||||
},
|
||||
{
|
||||
"input":8,
|
||||
"interpolation":"STEP",
|
||||
"output":11
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Cylinder",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2,
|
||||
"TANGENT":3,
|
||||
"JOINTS_0":4,
|
||||
"WEIGHTS_0":5
|
||||
},
|
||||
"indices":6
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"skins":[
|
||||
{
|
||||
"inverseBindMatrices":7,
|
||||
"joints":[
|
||||
8,
|
||||
7,
|
||||
6,
|
||||
5,
|
||||
4,
|
||||
3,
|
||||
2,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"name":"Armature"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":185,
|
||||
"max":[
|
||||
0.1499999761581421,
|
||||
1.9999998807907104,
|
||||
0.1499999612569809
|
||||
],
|
||||
"min":[
|
||||
-0.1499999761581421,
|
||||
-3.975369566953241e-15,
|
||||
-0.1499999612569809
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":185,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":185,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":185,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5121,
|
||||
"count":185,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":185,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"componentType":5123,
|
||||
"count":852,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"componentType":5126,
|
||||
"count":9,
|
||||
"type":"MAT4"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"max":[
|
||||
5
|
||||
],
|
||||
"min":[
|
||||
0.08333333333333333
|
||||
],
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":10,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":11,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":12,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"max":[
|
||||
5
|
||||
],
|
||||
"min":[
|
||||
0.08333333333333333
|
||||
],
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":13,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":14,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":15,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":16,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":17,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":18,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":19,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":20,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":21,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":22,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":23,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":24,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":25,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":26,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":27,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2220,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2220,
|
||||
"byteOffset":2220,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1480,
|
||||
"byteOffset":4440,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2960,
|
||||
"byteOffset":5920,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":740,
|
||||
"byteOffset":8880,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":2960,
|
||||
"byteOffset":9620,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":1704,
|
||||
"byteOffset":12580,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":576,
|
||||
"byteOffset":14284
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":8,
|
||||
"byteOffset":14860
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":14868
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":32,
|
||||
"byteOffset":14892
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":14924
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":240,
|
||||
"byteOffset":14948
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":15188
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":16148
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":16172
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":17132
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":17156
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":18116
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":18140
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":19100
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":19124
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":20084
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":20108
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":21068
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":21092
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":22052
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":22076
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":23036,
|
||||
"uri":"TestCylinder.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://swyqml51d23a"
|
||||
path="res://.godot/imported/TestCylinder.gltf-a16cc490e9344012588e4dac067d9cc3.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/TestCylinder.gltf"
|
||||
dest_files=["res://.godot/imported/TestCylinder.gltf-a16cc490e9344012588e4dac067d9cc3.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=60.0
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
Binary file not shown.
@@ -0,0 +1,575 @@
|
||||
{
|
||||
"asset":{
|
||||
"generator":"Khronos glTF Blender I/O v4.5.48",
|
||||
"version":"2.0"
|
||||
},
|
||||
"scene":0,
|
||||
"scenes":[
|
||||
{
|
||||
"name":"Scene",
|
||||
"nodes":[
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"name":"Top",
|
||||
"rotation":[
|
||||
0,
|
||||
4.371138828673793e-08,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"translation":[
|
||||
0,
|
||||
0.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
0
|
||||
],
|
||||
"name":"Bottom",
|
||||
"rotation":[
|
||||
3.0908619663705394e-08,
|
||||
0.7071067690849304,
|
||||
0.7071067690849304,
|
||||
3.0908619663705394e-08
|
||||
]
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
1
|
||||
],
|
||||
"name":"Root",
|
||||
"rotation":[
|
||||
0,
|
||||
0.7071067690849304,
|
||||
0.7071067690849304,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh":0,
|
||||
"name":"Plane",
|
||||
"skin":0
|
||||
},
|
||||
{
|
||||
"children":[
|
||||
2
|
||||
],
|
||||
"name":"Armature"
|
||||
}
|
||||
],
|
||||
"animations":[
|
||||
{
|
||||
"channels":[
|
||||
{
|
||||
"sampler":0,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":1,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":2,
|
||||
"target":{
|
||||
"node":2,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":3,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":4,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":5,
|
||||
"target":{
|
||||
"node":1,
|
||||
"path":"scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":6,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"translation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":7,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"rotation"
|
||||
}
|
||||
},
|
||||
{
|
||||
"sampler":8,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"scale"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name":"Animation_Loop",
|
||||
"samplers":[
|
||||
{
|
||||
"input":15,
|
||||
"interpolation":"LINEAR",
|
||||
"output":16
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":18
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":19
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":20
|
||||
},
|
||||
{
|
||||
"input":15,
|
||||
"interpolation":"LINEAR",
|
||||
"output":21
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":19
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":22
|
||||
},
|
||||
{
|
||||
"input":15,
|
||||
"interpolation":"LINEAR",
|
||||
"output":23
|
||||
},
|
||||
{
|
||||
"input":17,
|
||||
"interpolation":"STEP",
|
||||
"output":19
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials":[
|
||||
{
|
||||
"doubleSided":true,
|
||||
"name":"Test 1",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorFactor":[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"metallicFactor":0
|
||||
}
|
||||
},
|
||||
{
|
||||
"doubleSided":true,
|
||||
"name":"Test 2",
|
||||
"pbrMetallicRoughness":{
|
||||
"baseColorFactor":[
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"metallicFactor":0,
|
||||
"roughnessFactor":0
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"name":"Plane",
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":0,
|
||||
"NORMAL":1,
|
||||
"TEXCOORD_0":2,
|
||||
"TANGENT":3,
|
||||
"JOINTS_0":4,
|
||||
"WEIGHTS_0":5
|
||||
},
|
||||
"indices":6,
|
||||
"material":0
|
||||
},
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":7,
|
||||
"NORMAL":8,
|
||||
"TEXCOORD_0":9,
|
||||
"TANGENT":10,
|
||||
"JOINTS_0":11,
|
||||
"WEIGHTS_0":12
|
||||
},
|
||||
"indices":13,
|
||||
"material":1
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"skins":[
|
||||
{
|
||||
"inverseBindMatrices":14,
|
||||
"joints":[
|
||||
2,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"name":"Armature"
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"max":[
|
||||
0.5,
|
||||
1,
|
||||
2.9802322387695312e-08
|
||||
],
|
||||
"min":[
|
||||
-0.5,
|
||||
0,
|
||||
-2.9802322387695312e-08
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":4,
|
||||
"componentType":5121,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":5,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":6,
|
||||
"componentType":5123,
|
||||
"count":3,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":7,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"max":[
|
||||
0.5,
|
||||
1,
|
||||
2.9802322387695312e-08
|
||||
],
|
||||
"min":[
|
||||
-0.5,
|
||||
0,
|
||||
-2.9802322387695312e-08
|
||||
],
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":8,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":9,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView":10,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":11,
|
||||
"componentType":5121,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":12,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":13,
|
||||
"componentType":5123,
|
||||
"count":3,
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":14,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"MAT4"
|
||||
},
|
||||
{
|
||||
"bufferView":15,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"max":[
|
||||
1
|
||||
],
|
||||
"min":[
|
||||
0.016666666666666666
|
||||
],
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":16,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":17,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"max":[
|
||||
1
|
||||
],
|
||||
"min":[
|
||||
0.016666666666666666
|
||||
],
|
||||
"type":"SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView":18,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":19,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":20,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":21,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView":22,
|
||||
"componentType":5126,
|
||||
"count":2,
|
||||
"type":"VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView":23,
|
||||
"componentType":5126,
|
||||
"count":60,
|
||||
"type":"VEC4"
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":36,
|
||||
"byteOffset":0,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":36,
|
||||
"byteOffset":36,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":72,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":48,
|
||||
"byteOffset":96,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":12,
|
||||
"byteOffset":144,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":48,
|
||||
"byteOffset":156,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":6,
|
||||
"byteOffset":204,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":36,
|
||||
"byteOffset":212,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":36,
|
||||
"byteOffset":248,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":284,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":48,
|
||||
"byteOffset":308,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":12,
|
||||
"byteOffset":356,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":48,
|
||||
"byteOffset":368,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":6,
|
||||
"byteOffset":416,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":192,
|
||||
"byteOffset":424
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":240,
|
||||
"byteOffset":616
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":720,
|
||||
"byteOffset":856
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":8,
|
||||
"byteOffset":1576
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":32,
|
||||
"byteOffset":1584
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":1616
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":1640
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":1664
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":24,
|
||||
"byteOffset":2624
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteLength":960,
|
||||
"byteOffset":2648
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"byteLength":3608,
|
||||
"uri":"TestSkeleton.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bxdjgomhlu83j"
|
||||
path="res://.godot/imported/TestSkeleton.gltf-50657de8ae4ee008e4cf9aae9c12807e.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Assets/TestSkeleton.gltf"
|
||||
dest_files=["res://.godot/imported/TestSkeleton.gltf-50657de8ae4ee008e4cf9aae9c12807e.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/root_script=null
|
||||
mesh_library/use_node_names_as_mesh_names=false
|
||||
array_mesh/deduplicate_surfaces=true
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_name_suffixes=true
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
materials/extract=0
|
||||
materials/extract_format=0
|
||||
materials/extract_path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=2
|
||||
gltf/embedded_image_handling=1
|
||||
gltf/texture_map_mode=1
|
||||
@@ -0,0 +1,25 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform vec4 color = vec4(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
uniform float thickness = 0.1f;
|
||||
uniform float rotation_speed = 1.0f;
|
||||
|
||||
vec2 rotate(vec2 v, float angle) {
|
||||
return vec2(
|
||||
v.x * cos(angle) + v.y * sin(angle),
|
||||
v.x * sin(angle) - v.y * cos(angle)
|
||||
);
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
float distance_from_centre = distance(vec2(0.5f, 0.5f), UV.xy) * 2.0f;
|
||||
float inner_circle = smoothstep((1.0f - (SCREEN_PIXEL_SIZE.x * 96.0f)) - thickness, 1.0f - thickness, distance_from_centre);
|
||||
float outer_circle = 1.0f - smoothstep((1.0f - (SCREEN_PIXEL_SIZE.x * 96.0f)), 1.0f, distance_from_centre);
|
||||
float throbber_edge = outer_circle * inner_circle;
|
||||
|
||||
vec2 relative = rotate(UV - vec2(0.5f, 0.5f), TIME * rotation_speed);
|
||||
float angle = atan(relative.x, relative.y);
|
||||
|
||||
float t = (angle + PI) / 2.0f / PI;
|
||||
COLOR *= throbber_edge * mix(vec4(color.rgb, 0.0f), vec4(color.rgb, 1.0f), t);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
uid://cdsno15e4ik28
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3 uid="uid://ccy6uvk0tjnsn"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://dqjre1mbrfp6c" path="res://Assets/UI/LoadingThrobber/circular_throbber.material" id="1_o3q45"]
|
||||
|
||||
[node name="CircularThrobber" type="AspectRatioContainer" unique_id=1517631718]
|
||||
material = ExtResource("1_o3q45")
|
||||
custom_minimum_size = Vector2(48, 48)
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_right = -1232.0
|
||||
offset_bottom = -672.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="." unique_id=1757903595]
|
||||
material = ExtResource("1_o3q45")
|
||||
layout_mode = 2
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user