mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 00:23:47 +00:00
Box models and item drops
This commit is contained in:
parent
cc9c4e5aa1
commit
2fe9618942
132 changed files with 9210 additions and 999 deletions
24
Scenes/Items/GenericItem3D.tscn
Normal file
24
Scenes/Items/GenericItem3D.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue