Armazon/props/shelves/shelf.tscn

32 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-04-03 19:24:04 -04:00
[gd_scene load_steps=5 format=3 uid="uid://bdccq5y56ruro"]
2024-01-28 13:44:54 -05:00
[ext_resource type="ArrayMesh" uid="uid://cl4vvh1y3i7a" path="res://assets/props/blake3/Shelves.obj" id="1_bh5mi"]
2024-04-03 19:24:04 -04:00
[ext_resource type="Script" path="res://props/shelves/shelf.gd" id="1_by2ku"]
2024-01-28 13:44:54 -05:00
[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"]
2024-01-28 16:50:06 -05:00
collision_mask = 9
2024-01-28 13:44:54 -05:00
mass = 100.0
2024-04-03 19:24:04 -04:00
max_contacts_reported = 4
contact_monitor = true
script = ExtResource("1_by2ku")
2024-01-28 13:44:54 -05:00
[node name="Shelves" type="MeshInstance3D" parent="."]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
2024-01-28 16:05:33 -05:00
gi_mode = 0
2024-01-28 13:44:54 -05:00
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")
2024-04-03 19:24:04 -04:00
[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"]