Untested PickupableItem
This commit is contained in:
parent
a2c062e8bb
commit
63e87e86d5
19 changed files with 200 additions and 17 deletions
|
@ -1,6 +1,7 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://ddjjrkernsobh"]
|
||||
[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"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_cdwk3"]
|
||||
|
||||
|
@ -9,8 +10,12 @@ pixel_size = 0.0313
|
|||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("1_yf10f")
|
||||
script = ExtResource("2_cdwk3")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("SphereShape3D_cdwk3")
|
||||
|
||||
[connection signal="body_entered" from="Area3D" to="." method="_on_body_entered"]
|
||||
[connection signal="body_exited" from="Area3D" to="." method="_on_body_exited"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue