抱起物品

This commit is contained in:
2026-10-03 18:04:07 +08:00
parent bc90e6d7b2
commit 6f3c89a4d2
17 changed files with 635 additions and 44 deletions
+12 -3
View File
@@ -12,16 +12,18 @@
[ext_resource type="AnimationLibrary" uid="uid://dy8a178vlbsof" path="res://character/player/assets/animations/sneak.glb" id="8_jo6ux"]
[ext_resource type="AnimationLibrary" uid="uid://db83440o2cyr7" path="res://character/player/assets/animations/walk.glb" id="9_fkbv7"]
[ext_resource type="Script" uid="uid://c6l2fl5jgvr1h" path="res://character/player/face/face_rig.gd" id="12_lqp71"]
[ext_resource type="Script" uid="uid://cca1hl0g2bku" path="res://character/player/carry_arms.gd" id="13_carryarms"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_rkbax"]
radius = 0.4
height = 1.8
radius = 0.54541016
height = 1.4063476
[node name="Player" type="CharacterBody3D" unique_id=869687860]
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
script = ExtResource("1_gtsfv")
[node name="Collision" type="CollisionShape3D" parent="." unique_id=215132582]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.7031738, 0)
shape = SubResource("CapsuleShape3D_rkbax")
[node name="CameraRig" type="Node3D" parent="." unique_id=1774966304]
@@ -30,6 +32,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
[node name="Camera" type="Camera3D" parent="CameraRig" unique_id=52294557]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.6066488, -0.11179829)
[node name="CarrySocket" type="Marker3D" parent="CameraRig" unique_id=570180284]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.8, -1)
[node name="Body" type="Node3D" parent="." unique_id=394283421]
[node name="mouse" parent="Body" unique_id=1995806863 instance=ExtResource("2_wu8e1")]
@@ -46,6 +51,10 @@ libraries/sneak = ExtResource("8_jo6ux")
libraries/walk = ExtResource("9_fkbv7")
script = ExtResource("3_g20gq")
[node name="CarryArms" type="Node" parent="Body" unique_id=301629134]
process_priority = 100
script = ExtResource("13_carryarms")
[node name="Sync" type="MultiplayerSynchronizer" parent="." unique_id=1979575210]
replication_config = ExtResource("3_wu8e1")