Armazon/props/items/item_metalrod.tscn
2024-01-28 16:05:33 -05:00

38 lines
1.5 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(0.819232, 0.196045, 0, -0.185111, 0.773541, 0.277386, 0.0645567, -0.269769, 0.795381, 0.0547767, 0.0233308, -0.0753758)
shape = SubResource("CylinderShape3D_eg501")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.819232, 0.196045, 0, -0.185111, 0.773541, 0.277386, 0.0645567, -0.269769, 0.795381, -0.0547767, -0.408937, 0.0753758)
mesh = ExtResource("2_2xydg")
surface_material_override/0 = ExtResource("3_ype28")
[node name="metal_rod" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_dbvmh")
attenuation_model = 2
volume_db = -7.0
max_db = -7.0
bus = &"Reverb"
attenuation_filter_cutoff_hz = 20500.0
doppler_tracking = 2
[connection signal="collide" from="." to="metal_rod" method="play"]