trenches/godot/objects/player.tscn

141 lines
7.7 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://1kr3qqan3trk"]
[ext_resource type="PackedScene" uid="uid://vub54xgk5n0h" path="res://models/character.glb" id="1_mi4co"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_ciynh"]
animation = &"RESET"
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_thyyf"]
filter_enabled = true
filters = ["Character/Skeleton3D:Foot.L", "Character/Skeleton3D:Foot.R", "Character/Skeleton3D:IKTarget.Foot.L", "Character/Skeleton3D:IKTarget.Foot.R", "Character/Skeleton3D:PoleTarget.Foot.L", "Character/Skeleton3D:PoleTarget.Foot.R", "Character/Skeleton3D:hip", "Character/Skeleton3D:lowerleg.L", "Character/Skeleton3D:lowerleg.R", "Character/Skeleton3D:root", "Character/Skeleton3D:upperleg.L", "Character/Skeleton3D:upperleg.R"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_mk1iq"]
animation = &"Walk_forward"
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_hiswf"]
graph_offset = Vector2(-228, 65)
nodes/Idle/node = SubResource("AnimationNodeAnimation_ciynh")
nodes/Idle/position = Vector2(-140, 160)
nodes/Movement/node = SubResource("AnimationNodeBlend2_thyyf")
nodes/Movement/position = Vector2(100, 160)
nodes/WalkForward/node = SubResource("AnimationNodeAnimation_mk1iq")
nodes/WalkForward/position = Vector2(-140, 320)
node_connections = [&"Movement", 0, &"Idle", &"Movement", 1, &"WalkForward", &"output", 0, &"Movement"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ewsvd"]
radius = 0.370388
[node name="Player" type="Player"]
floor_constant_speed = true
[node name="PlayerInput" type="PlayerInput" parent="."]
unique_name_in_owner = true
[node name="AnimationTree" type="AnimationTree" parent="."]
unique_name_in_owner = true
root_node = NodePath("%CharacterModel")
root_motion_track = NodePath("Character/Skeleton3D:root")
tree_root = SubResource("AnimationNodeBlendTree_hiswf")
anim_player = NodePath("../CharacterModel/AnimationPlayer")
parameters/Movement/blend_amount = 1.0
[node name="CharacterModel" parent="." instance=ExtResource("1_mi4co")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0337329, 0)
[node name="Skeleton3D" parent="CharacterModel/Character" index="0"]
bones/0/rotation = Quaternion(1.12928e-22, 1, 2.98023e-08, -1.94707e-07)
bones/1/position = Vector3(-7.81751e-17, 0.826102, -2.26306e-09)
bones/1/rotation = Quaternion(-0.0189873, 9.18702e-34, 9.18702e-34, 0.99982)
bones/3/rotation = Quaternion(-0.013812, -0.124595, 8.42949e-05, 0.992112)
bones/4/rotation = Quaternion(0.0100466, -3.2828e-23, 2.23076e-18, 0.99995)
bones/5/rotation = Quaternion(-0.155668, -0.0127093, -0.131048, 0.978996)
bones/6/rotation = Quaternion(0.596798, -0.0109718, 0.368477, -0.712697)
bones/7/rotation = Quaternion(-0.0561849, 0.000675263, -0.158995, 0.985679)
bones/8/rotation = Quaternion(-0.180111, 7.03111e-05, 0.878396, 0.442697)
bones/8/scale = Vector3(1, 1, 1)
bones/9/rotation = Quaternion(0.145773, 0.311449, -0.674545, 0.653253)
bones/10/rotation = Quaternion(-0.160687, -0.0459479, -0.0475321, 0.984789)
bones/11/rotation = Quaternion(-0.0305179, -0.0130498, -0.0216153, 0.999215)
bones/11/scale = Vector3(1, 1, 1)
bones/12/rotation = Quaternion(0.00872473, 0.00565776, 0.00131023, 0.999945)
bones/12/scale = Vector3(1, 1, 1)
bones/13/rotation = Quaternion(-0.617934, -0.0462445, 0.180663, 0.763793)
bones/14/rotation = Quaternion(-0.23045, 0.0743405, 0.160693, 0.956841)
bones/14/scale = Vector3(1, 1, 1)
bones/15/rotation = Quaternion(-0.541263, -0.0075276, 0.238029, 0.806424)
bones/15/scale = Vector3(1, 1, 1)
bones/16/rotation = Quaternion(-0.611024, -0.262913, 0.402215, 0.629087)
bones/16/scale = Vector3(1, 1, 1)
bones/17/rotation = Quaternion(0.0158022, 0.0368156, 0.177499, 0.983305)
bones/18/rotation = Quaternion(-0.115784, 0.0786986, 0.503797, 0.852402)
bones/19/rotation = Quaternion(-0.77808, 0.139756, 0.0140334, 0.612261)
bones/19/scale = Vector3(1, 1, 1)
bones/20/rotation = Quaternion(-0.0923591, 0.0238577, 0.0736641, 0.992711)
bones/21/rotation = Quaternion(-0.193467, 0.101022, 0.0447897, 0.974864)
bones/21/scale = Vector3(1, 1, 1)
bones/22/rotation = Quaternion(-0.293695, -0.10649, 0.259809, 0.91373)
bones/23/rotation = Quaternion(-0.0310475, -0.0162325, -0.00151594, 0.999385)
bones/24/rotation = Quaternion(0.140362, -0.0289769, -0.195164, 0.970242)
bones/25/rotation = Quaternion(0.585184, -0.476496, -0.473244, -0.454479)
bones/26/rotation = Quaternion(-0.28016, -0.457175, -0.503294, 0.67764)
bones/27/rotation = Quaternion(-0.327872, -0.333942, -0.116987, 0.875955)
bones/27/scale = Vector3(1, 1, 1)
bones/28/rotation = Quaternion(0.0214366, -0.420105, 0.0121654, 0.907141)
bones/28/scale = Vector3(1, 1, 1)
bones/30/rotation = Quaternion(-0.0305179, 0.0130498, 0.0216153, 0.999215)
bones/30/scale = Vector3(1, 1, 1)
bones/31/rotation = Quaternion(-0.518356, -0.00412334, -0.00408936, 0.855145)
bones/31/scale = Vector3(1, 1, 1)
bones/32/rotation = Quaternion(-0.290993, 0.0788459, 0.0248015, 0.953148)
bones/33/rotation = Quaternion(-0.442666, -0.0105199, -0.00680268, 0.896599)
bones/33/scale = Vector3(1, 1, 1)
bones/34/rotation = Quaternion(-0.266884, 0.00530697, 0.000658861, 0.963714)
bones/34/scale = Vector3(1, 1, 1)
bones/35/rotation = Quaternion(-0.633479, 0.0476042, 0.0933771, 0.766628)
bones/35/scale = Vector3(1, 1, 1)
bones/36/rotation = Quaternion(-0.237876, -0.0162261, -0.0172922, 0.971006)
bones/36/scale = Vector3(1, 1, 1)
bones/37/rotation = Quaternion(-0.0107009, 0.00769704, 0.00365465, 0.999906)
bones/38/rotation = Quaternion(-0.510571, 0.048969, 0.105792, 0.851896)
bones/38/scale = Vector3(1, 1, 1)
bones/39/rotation = Quaternion(-0.461201, -0.0232723, -0.00676324, 0.886965)
bones/40/rotation = Quaternion(-0.0125688, 0.0114119, 0.00134585, 0.999855)
bones/40/scale = Vector3(1, 1, 1)
bones/41/rotation = Quaternion(-0.0497162, 0.0839877, -0.166225, 0.981246)
bones/41/scale = Vector3(1, 1, 1)
bones/42/rotation = Quaternion(-0.0310475, 0.0162325, 0.00151594, 0.999385)
bones/43/rotation = Quaternion(-0.00109155, -0.0104143, 0.0283533, 0.999543)
bones/44/position = Vector3(0.0938011, 0.72761, -0.389448)
bones/44/rotation = Quaternion(-0.697112, -0.0378561, 0.0426843, 0.714689)
bones/45/rotation = Quaternion(-0.82326, 6.76709e-08, -9.81403e-08, 0.567664)
bones/45/scale = Vector3(1, 1, 1)
bones/46/rotation = Quaternion(-0.00112372, 4.40296e-20, -1.00734e-15, 0.999999)
bones/47/rotation = Quaternion(0.706312, -7.40063e-16, -7.40063e-16, 0.707901)
bones/47/scale = Vector3(1, 1, 1)
bones/48/rotation = Quaternion(-0.112129, 0.585204, -0.155744, 0.78785)
bones/49/rotation = Quaternion(0.314217, 0.921438, 0.101091, -0.204942)
bones/49/scale = Vector3(1, 1, 1)
bones/50/rotation = Quaternion(0.997309, -0.00549226, 0.0715034, -0.0152251)
bones/50/scale = Vector3(1, 1, 1)
bones/51/rotation = Quaternion(-0.00225666, 0.0030665, -0.000453778, 0.999993)
bones/51/scale = Vector3(1, 1, 1)
bones/52/rotation = Quaternion(0.665461, 0.000164993, -0.00238772, 0.746429)
bones/53/rotation = Quaternion(0.997309, 0.00549227, -0.0715033, -0.0152251)
bones/53/scale = Vector3(1, 1, 1)
bones/54/rotation = Quaternion(-0.00225666, -0.0030665, 0.000453779, 0.999993)
bones/54/scale = Vector3(1, 1, 1)
bones/55/rotation = Quaternion(0.665461, -0.000164961, 0.00238768, 0.746429)
bones/56/rotation = Quaternion(-0.707107, 8.33981e-07, 8.33981e-07, 0.707107)
bones/57/rotation = Quaternion(-0.707107, -8.33981e-07, -8.33981e-07, 0.707107)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-1, 1.26638e-08, -8.65007e-08, 0, 0.989453, 0.144857, 8.74228e-08, 0.144857, -0.989453, -0.381843, 1.7688, -0.847603)
fov = 53.7
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_ewsvd")
[editable path="CharacterModel"]