21 lines
867 B
Text
21 lines
867 B
Text
[gd_scene load_steps=4 format=3 uid="uid://c4wpq5gxkbor7"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bdgoa18kfhlwo" path="res://base/assets/sprites/interactive/interactive.png" id="1_2373a"]
|
|
[ext_resource type="Script" uid="uid://v2v4keo0ydlc" path="res://base/scripts/interactive/pickupable_item.gd" id="2_2373a"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_cdwk3"]
|
|
|
|
[node name="PickupableItem" type="Sprite3D"]
|
|
pixel_size = 0.0313
|
|
billboard = 1
|
|
texture_filter = 0
|
|
texture = ExtResource("1_2373a")
|
|
script = ExtResource("2_2373a")
|
|
|
|
[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"]
|