cirnogodot/Scenes/Items/GenericItem3D.tscn
2025-06-17 17:49:40 +02:00

24 lines
982 B
Text

[gd_scene load_steps=4 format=3 uid="uid://cnot7sft7lpf3"]
[ext_resource type="Script" uid="uid://cc60s31w2sive" path="res://Scripts/Interactables/ItemPickup3D.cs" id="1_rqfak"]
[ext_resource type="Texture2D" uid="uid://b61po207ggn63" path="res://Sprites/Items/Yin_Ammo.png" id="2_rqfak"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_f43iq"]
height = 0.538086
[node name="Item" type="Area3D" groups=["Interactable"]]
collision_layer = 32
collision_mask = 0
script = ExtResource("1_rqfak")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0649414, 0)
shape = SubResource("CylinderShape3D_f43iq")
[node name="Sprite3D" type="Sprite3D" parent="."]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
pixel_size = 0.05
texture_filter = 0
texture = ExtResource("2_rqfak")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]