Finished basic PickupableItem

This commit is contained in:
Alexey 2025-08-01 13:11:26 +03:00
commit 88c56f8aed
21 changed files with 163 additions and 35 deletions

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://ddjjrkernsobh"]
[ext_resource type="Texture2D" uid="uid://bdgoa18kfhlwo" path="res://base/assets/sprites/interactive/interactive.png" id="1_yf10f"]
[ext_resource type="Script" uid="uid://fva8kqc3mk86" path="res://base/scripts/interactive_object.gd" id="2_cdwk3"]
[ext_resource type="Script" uid="uid://junnt60g6c7x" path="res://base/scripts/interactive/interactive_object.gd" id="2_cdwk3"]
[sub_resource type="SphereShape3D" id="SphereShape3D_cdwk3"]
@ -11,8 +11,11 @@ billboard = 1
texture_filter = 0
texture = ExtResource("1_yf10f")
script = ExtResource("2_cdwk3")
metadata/_custom_type_script = "uid://junnt60g6c7x"
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 16
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("SphereShape3D_cdwk3")

View file

@ -13,6 +13,8 @@ texture = ExtResource("1_2373a")
script = ExtResource("2_2373a")
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 16
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("SphereShape3D_cdwk3")