TinyAdventure/objects/pickup_item.tscn

23 lines
871 B
Plaintext
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://da5r82nvypfk4"]
2024-07-09 22:33:38 +02:00
2024-07-12 11:27:10 +02:00
[ext_resource type="Script" path="res://objects/pickup_item.gd" id="1_1i8k2"]
2024-07-09 22:33:38 +02:00
[sub_resource type="CylinderShape3D" id="CylinderShape3D_1ndog"]
height = 0.200798
2024-07-09 22:33:38 +02:00
radius = 0.15682
2024-08-15 20:24:41 +02:00
[node name="Item" type="Node3D" groups=["pickup_item"]]
2024-07-12 11:27:10 +02:00
script = ExtResource("1_1i8k2")
2024-08-15 23:43:05 +02:00
2024-07-09 22:33:38 +02:00
[node name="Area3D" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0502824, 0)
2024-07-09 22:33:38 +02:00
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("CylinderShape3D_1ndog")
[node name="WorldItemNode" type="Node3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(-0.319655, 0.240352, 0.00715891, 0, 0.0119088, -0.399823, -0.240459, -0.319514, -0.00951674, -0.035, 0.06, 0.021)
2024-07-09 22:33:38 +02:00
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]