Armazon/props/items/item_metalrod.tscn
2024-01-28 13:44:54 -05:00

35 lines
1.3 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://dypmkc8m7p7af"]
[ext_resource type="Script" path="res://scripts/packageitem.gd" id="1_780i5"]
[ext_resource type="ArrayMesh" uid="uid://i3uqr33uqcac" path="res://assets/props/blake3/LeadPipe.obj" id="2_2xydg"]
[ext_resource type="AudioStream" uid="uid://6rey6ojjm7hn" path="res://assets/audio/pipe.wav" id="3_dbvmh"]
[ext_resource type="Material" uid="uid://dlcqn8a0dycmj" path="res://assets/props/blake3/mat_blake3.tres" id="3_ype28"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_eg501"]
height = 1.21796
radius = 0.0751128
[node name="ItemCylinder" type="RigidBody3D"]
collision_layer = 5
mass = 5.0
max_contacts_reported = 2
contact_monitor = true
script = ExtResource("1_780i5")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0866055, 0)
shape = SubResource("CylinderShape3D_eg501")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.472212, 0)
mesh = ExtResource("2_2xydg")
surface_material_override/0 = ExtResource("3_ype28")
[node name="metal_rod" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_dbvmh")
max_db = -5.0
bus = &"Reverb"
attenuation_filter_cutoff_hz = 20500.0
[connection signal="collide" from="." to="metal_rod" method="play"]