Armazon/props/items/item_redarrow.tscn

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=6 format=3 uid="uid://ba13afk2ubd6j"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_s7goq"]
[ext_resource type="Material" uid="uid://bdk2p7q54ftfv" path="res://assets/props/blake3/mat_arrow.tres" id="2_qssty"]
[ext_resource type="AudioStream" uid="uid://jayxq7lbhlkq" path="res://assets/audio/alarm.wav" id="3_d2li2"]
[sub_resource type="SphereShape3D" id="SphereShape3D_pj2o1"]
radius = 0.35
[sub_resource type="QuadMesh" id="QuadMesh_1rwqu"]
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 0.3
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_s7goq")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_pj2o1")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.168623, 0.191574, 0)
mesh = SubResource("QuadMesh_1rwqu")
surface_material_override/0 = ExtResource("2_qssty")
[node name="alarm" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_d2li2")
max_db = -1.0
[connection signal="touched" from="." to="alarm" method="play"]