Armazon/props/box/box.tscn

59 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2024-01-28 13:44:54 -05:00
[gd_scene load_steps=8 format=3 uid="uid://csn71b1th7fwq"]
[ext_resource type="Script" path="res://scripts/package.gd" id="1_t8cfl"]
[ext_resource type="Material" uid="uid://br8oterh2dy76" path="res://assets/props/box/mat_box.tres" id="2_2iasx"]
[ext_resource type="ArrayMesh" uid="uid://b4p0mlvsdefvs" path="res://assets/props/box/box.obj" id="2_2jc3k"]
[sub_resource type="BoxShape3D" id="BoxShape3D_meveo"]
size = Vector3(0.8, 0.01, 0.55)
[sub_resource type="BoxShape3D" id="BoxShape3D_jf0xg"]
size = Vector3(0.01, 0.27, 0.55)
[sub_resource type="BoxShape3D" id="BoxShape3D_lvqf0"]
size = Vector3(0.01, 0.27, 0.785)
[sub_resource type="BoxShape3D" id="BoxShape3D_14bxk"]
size = Vector3(0.775, 0.15, 0.51)
[node name="Box" type="RigidBody3D"]
collision_layer = 3
script = ExtResource("1_t8cfl")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.163257, 0)
shape = SubResource("BoxShape3D_meveo")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.395, -0.0338859, 0)
shape = SubResource("BoxShape3D_jf0xg")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.395, -0.034, 0)
shape = SubResource("BoxShape3D_jf0xg")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, -0.034, -0.264532)
shape = SubResource("BoxShape3D_lvqf0")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="."]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, -0.034, 0.265)
shape = SubResource("BoxShape3D_lvqf0")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.015, 0, 0, 0, 0.015, 0, 0, 0, 0.015, 0, 0, 0.044213)
material_override = ExtResource("2_2iasx")
mesh = ExtResource("2_2jc3k")
[node name="item_detector" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 4
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="item_detector"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.077147, 0)
shape = SubResource("BoxShape3D_14bxk")
[connection signal="body_entered" from="item_detector" to="." method="_on_item_entered"]
[connection signal="body_exited" from="item_detector" to="." method="_on_item_exited"]