TinyAdventure/objects/pickup_item.tscn

26 lines
992 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://da5r82nvypfk4"]
[ext_resource type="Script" path="res://objects/pickup_item.gd" id="1_1i8k2"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1ndog"]
height = 0.200798
radius = 0.15682
[node name="Item" type="Node3D" groups=["pickup_item"]]
script = ExtResource("1_1i8k2")
[node name="Area3D" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0502824, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("CylinderShape3D_1ndog")
[node name="WorldItemOffset" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.06, 0)
[node name="WorldItemNode" type="Node3D" parent="WorldItemOffset"]
unique_name_in_owner = true
transform = Transform3D(-0.257115, -0.306418, 0, -1.33939e-08, 1.12389e-08, -0.4, 0.306418, -0.257115, -1.74846e-08, 0, 0, 0)
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]