Teleport works, item pickup is broken

This commit is contained in:
2024-09-07 14:00:40 -07:00
parent 4c2731bc7b
commit fbaf698852
28 changed files with 314 additions and 229 deletions

View File

@@ -11,7 +11,6 @@ Description = ""
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_uavx4"]
radius = 0.470016
height = 0.940032
[node name="Accessory" type="Node3D"]
script = ExtResource("1_jq0hu")

View File

@@ -4,9 +4,8 @@
[ext_resource type="Texture2D" uid="uid://cgoubcl86pib4" path="res://src/items/armor/armor.png" id="1_vpnem"]
[ext_resource type="Resource" uid="uid://chjmkb3aiomvr" path="res://src/items/armor/resources/PatheticCoat.tres" id="2_eftit"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_1gpxo"]
radius = 0.470016
height = 0.940032
[sub_resource type="BoxShape3D" id="BoxShape3D_qdeu2"]
size = Vector3(0.778381, 0.929947, 0.731567)
[node name="Armor" type="Node3D"]
script = ExtResource("1_cmjpq")
@@ -24,4 +23,5 @@ collision_layer = 4
collision_mask = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pickup"]
shape = SubResource("CapsuleShape3D_1gpxo")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0600509, 0.26725, 0.180481)
shape = SubResource("BoxShape3D_qdeu2")

View File

@@ -6,7 +6,6 @@
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_j2it8"]
radius = 0.470016
height = 0.940032
[node name="CommonSword" type="Node3D"]
script = ExtResource("1_sr3bh")

View File

@@ -6,7 +6,6 @@
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_4ic28"]
radius = 0.470016
height = 0.940032
[node name="RareSword" type="Node3D"]
script = ExtResource("1_f8v7v")

View File

@@ -6,7 +6,6 @@
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_cbafi"]
radius = 0.470016
height = 0.940032
[node name="UncommonSword" type="Node3D"]
script = ExtResource("1_3o4dy")