@ -1,14 +1,19 @@
[gd_scene load_steps=22 format=3 uid="uid://dmd7w2r8s0x6y"]
[gd_scene load_steps=24 format=3 uid="uid://dmd7w2r8s0x6y"]
[ext_resource type="PackedScene" uid="uid://bfh3eqgywr0ul" path="res://assets/models/character.blend" id="1_3qh37"]
[ext_resource type="Script" path="res://player/Player.cs" id="1_a0mas"]
[ext_resource type="Script" path="res://player/MovementController.cs" id="2_1pst4"]
[ext_resource type="Script" path="res://player/PushbackArea.cs" id="2_almik"]
[ext_resource type="Script" path="res://player/PickupController.cs" id="2_ns2pe"]
[ext_resource type="Script" path="res://player/CameraController.cs" id="2_r3gna"]
[ext_resource type="Script" path="res://player/AnimationController.cs" id="3_5rlwc"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_h1mfd"]
radius = 0.3
radius = 0.24
height = 1.5
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_l8s0f"]
radius = 0.28
height = 1.5
[sub_resource type="Animation" id="Animation_arrr6"]
@ -806,39 +811,47 @@ script = ExtResource("1_a0mas")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_h1mfd")
[node name="PushbackArea" type="Area3D" parent="."]
collision_layer = 4
collision_mask = 4
script = ExtResource("2_almik")
[node name="CollisionShape3D" type="CollisionShape3D" parent="PushbackArea"]
shape = SubResource("CapsuleShape3D_l8s0f")
[node name="Model" parent="." instance=ExtResource("1_3qh37")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, -0.75, 0)
[node name="Root" type="BoneAttachment3D" parent="Model/Skeleton" index="0"]
transform = Transform3D(-1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0.199954, 0)
transform = Transform3D(-1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0.19867 4, 0)
bone_name = "Root"
bone_idx = 2
use_external_skeleton = true
external_skeleton = NodePath("../Skeleton3D")
[node name="LowerBody" type="BoneAttachment3D" parent="Model/Skeleton/Root"]
transform = Transform3D(-1, -1.45235e-11, 8.74228e-08, 8.71645e-08, 0.0766475, 0.997058, -6.71523e-09, 0.997058, -0.0766476 , 0, 0, -0.199593)
transform = Transform3D(-1, -1.80478e-09, 8.74042e-08, 8.71645e-08, 0.0562133, 0.998419, -6.71521e-09, 0.998419, -0.0562134 , 0, 0, -0.199593)
bone_name = "LowerBody"
bone_idx = 3
use_external_skeleton = true
external_skeleton = NodePath("../../Skeleton3D")
[node name="UpperBody" type="BoneAttachment3D" parent="Model/Skeleton/Root/LowerBody"]
transform = Transform3D(1, -1.0796e-08, 8.67536e-08, 0, 0.992346, 0.123492, -8.74228e-08, -0.123492, 0.992346, 8.88178e-16, 0.154362, 7.45058e-09 )
transform = Transform3D(1, -7.15076e-09, 8.71298e-08, 0, 0.996649, 0.0817951, -8.74228e-08, -0.0817951, 0.996649, 0, 0.154362, 0 )
bone_name = "UpperBody"
bone_idx = 4
use_external_skeleton = true
external_skeleton = NodePath("../../../Skeleton3D")
[node name="Neck" type="BoneAttachment3D" parent="Model/Skeleton/Root/LowerBody/UpperBody"]
transform = Transform3D(1, -8.30499e-17, 1.42109e-14, -1.33227e-15, 0.998891, -0.0470728, 7.10543e-15, 0.0470728, 0.998891, 2.22045e-16, 0.251888, -1.11759e-08 )
transform = Transform3D(1, 2.22045e-16, 0, 8.88178e-16, 0.998891, -0.0470728, -7.10543e-15, 0.0470728, 0.998892, 6.66134e-16, 0.251888, 0 )
bone_name = "Neck"
bone_idx = 5
use_external_skeleton = true
external_skeleton = NodePath("../../../../Skeleton3D")
[node name="Head" type="BoneAttachment3D" parent="Model/Skeleton/Root/LowerBody/UpperBody/Neck"]
transform = Transform3D(-1, 1.13687e-12, 8.74228e-08, 8.74228e-08, 1.31093e-05, 1, -7.10543e-15, 1, -1.32285e-05, -2.22045e-16, 0.101598, 1.86265 e-09)
transform = Transform3D(-1, 4.67566e-10, 8.74215e-08, 8.74228e-08, 0.0053482, 0.999986, 0, 0.999986, -0.00534832, 1.11022e-16, 0.101598, 3.72529 e-09)
bone_name = "Head"
bone_idx = 6
use_external_skeleton = true
@ -849,38 +862,38 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.0
cull_mask = 1
[node name="UpperArm_L" type="BoneAttachment3D" parent="Model/Skeleton/Root/LowerBody/UpperBody"]
transform = Transform3D(-0.939275, 0.343167, -1.43629e-05, -0.342785, -0.938234, -0.0470729, -0.0161673, -0.0442095, 0.998891, 0.0873834, 0.213866, -0.00179178 )
transform = Transform3D(-0.949823, 0.312787, -0.000684065, -0.31241, -0.948781, -0.0470616, -0.0153693, -0.0444865, 0.998892, 0.0873834, 0.213866, -0.00179177 )
bone_name = "UpperArm_L"
bone_idx = 7
use_external_skeleton = true
external_skeleton = NodePath("../../../../Skeleton3D")
[node name="UpperArm_R" type="BoneAttachment3D" parent="Model/Skeleton/Root/LowerBody/UpperBody"]
transform = Transform3D(-0.939275, -0.343167, 1.43629e-05, 0.342785, -0.938234, -0.0470729, 0.0161673, -0.0442095, 0.998891, -0.0873834, 0.213866, -0.00179178 )
transform = Transform3D(-0.949823, -0.312787, 0.000684064, 0.31241, -0.948781, -0.0470616, 0.0153693, -0.0444865, 0.998892, -0.0873834, 0.213866, -0.00179177 )
bone_name = "UpperArm_R"
bone_idx = 14
use_external_skeleton = true
external_skeleton = NodePath("../../../../Skeleton3D")
[node name="Skeleton3D" parent="Model/Skeleton" index="1"]
bones/1/rotation = Quaternion(-0.707263, 2.19513e-18, -2.07659e-18, 0.706951 )
bones/2/position = Vector3(0, 0.199954 , 0)
bones/3/rotation = Quaternion(2.96951e-08, 0.733706, 0.679468, 3.20762 e-08)
bones/4/rotation = Quaternion(-0.0618643, 4.36277e-08, 2.70417e-09, 0.998085 )
bones/6/rotation = Quaternion(3.09088e-08, 0.707111, 0.707102, 3.09084 e-08)
bones/7/rotation = Quaternion(-0.00410941, -0.0231815, 0.984429, -0.17420 1)
bones/8/rotation = Quaternion(2.06571e-06, 7.0899e-06, -0.0625704, 0.998041 )
bones/9/rotation = Quaternion(-1.49484e-06, -6.92559e-06, -0.0178983, 0.99984 )
bones/14/rotation = Quaternion(0.00410941, -0.0231815, 0.984429, 0.17420 1)
bones/15/rotation = Quaternion(2.06571e-06, -7.08988e-06, 0.0625704, 0.998041 )
bones/16/rotation = Quaternion(-1.49484e-06, 6.92559e-06, 0.0178983, 0.99984 )
bones/21/rotation = Quaternion(0.00988475, -0.701685, 0.712355, 0.00956142 )
bones/22/rotation = Quaternion(0.0133306, 0.00254896, 0.000813956, 0.999908 )
bones/23/rotation = Quaternion(-0.000983995, -0.692252, 0.721401, -0.019142 )
bones/24/rotation = Quaternion(-0.00988476, -0.701685, 0.712355, -0.00956141 )
bones/25/rotation = Quaternion(0.0133306, -0.00254896, -0.000813955, 0.999908 )
bones/26/rotation = Quaternion(0.000983995, -0.692252, 0.721401, 0.019142 )
bones/28/rotation = Quaternion(-0.707263, 2.19513e-18, -2.07659e-18, 0.706951 )
bones/1/rotation = Quaternion(-0.725527, 1.06167e-18, -1.00434e-18, 0.688194 )
bones/2/position = Vector3(0, 0.198675 , 0)
bones/3/rotation = Quaternion(2.93651e-08, 0.72671, 0.686945, 3.23786 e-08)
bones/4/rotation = Quaternion(-0.0409319, 4.36748e-08, 1.78919e-09, 0.999162 )
bones/6/rotation = Quaternion(3.09912e-08, 0.708995, 0.705213, 3.08259 e-08)
bones/7/rotation = Quaternion(-0.00406577, -0.0231861, 0.987104, -0.15834 1)
bones/8/rotation = Quaternion(9.74191e-05, 0.000328126, -0.0786104, 0.996905 )
bones/9/rotation = Quaternion(-7.20592e-05, -0.0003409, -0.00150931, 0.999999 )
bones/14/rotation = Quaternion(0.00406577, -0.0231861, 0.987104, 0.15834 1)
bones/15/rotation = Quaternion(9.74189e-05, -0.000328126, 0.0786104, 0.996905 )
bones/16/rotation = Quaternion(-7.20589e-05, 0.0003409, 0.00150931, 0.999999 )
bones/21/rotation = Quaternion(0.0107169, -0.719663, 0.694155, 0.0108845 )
bones/22/rotation = Quaternion(0.0628015, 0.00254414, 0.0038346, 0.998015 )
bones/23/rotation = Quaternion(-0.00149249, -0.672831, 0.739548, -0.0191091 )
bones/24/rotation = Quaternion(-0.0107169, -0.719663, 0.694155, -0.0108845 )
bones/25/rotation = Quaternion(0.0628015, -0.00254414, -0.0038346, 0.998015 )
bones/26/rotation = Quaternion(0.00149248, -0.672831, 0.739548, 0.0191091 )
bones/28/rotation = Quaternion(-0.725527, 1.06167e-18, -1.00434e-18, 0.688194 )
[node name="MovementController" type="Node" parent="."]
script = ExtResource("2_1pst4")