Armazon/props/shelves/shelf.tscn
2024-04-03 19:24:04 -04:00

32 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://bdccq5y56ruro"]
[ext_resource type="ArrayMesh" uid="uid://cl4vvh1y3i7a" path="res://assets/props/blake3/Shelves.obj" id="1_bh5mi"]
[ext_resource type="Script" path="res://props/shelves/shelf.gd" id="1_by2ku"]
[ext_resource type="Material" uid="uid://dlcqn8a0dycmj" path="res://assets/props/blake3/mat_blake3.tres" id="2_2kntf"]
[sub_resource type="BoxShape3D" id="BoxShape3D_da465"]
size = Vector3(3.02141, 4.27834, 0.811)
[node name="Shelf" type="RigidBody3D"]
collision_mask = 9
mass = 100.0
max_contacts_reported = 4
contact_monitor = true
script = ExtResource("1_by2ku")
[node name="Shelves" type="MeshInstance3D" parent="."]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
gi_mode = 0
mesh = ExtResource("1_bh5mi")
surface_material_override/0 = ExtResource("2_2kntf")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.15317, -0.005)
shape = SubResource("BoxShape3D_da465")
[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="timeout" from="Timer" to="." method="detonate"]