[gd_scene load_steps=5 format=3 uid="uid://dyi4ji0t3ryi4"]

[ext_resource type="Script" uid="uid://fm00gyh0hgmj" path="res://Scripts/Components/Actors/3D/Chest3D.cs" id="1_rpeec"]
[ext_resource type="PackedScene" uid="uid://b5yq3ibbfoo0" path="res://3D/BlockbenchModels/Chest/Chest.gltf" id="1_sxwrc"]

[sub_resource type="BoxShape3D" id="BoxShape3D_sefe4"]
size = Vector3(0.633301, 0.449646, 0.509521)

[sub_resource type="SphereShape3D" id="SphereShape3D_sxwrc"]
radius = 0.467832

[node name="Chest" type="Area3D" groups=["Interactable"]]
collision_layer = 32
collision_mask = 0
script = ExtResource("1_rpeec")

[node name="SolidChest" type="StaticBody3D" parent="."]
collision_layer = 16
collision_mask = 0

[node name="CollisionShape3D" type="CollisionShape3D" parent="SolidChest"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00463867, -0.279144, 0.0032959)
shape = SubResource("BoxShape3D_sefe4")

[node name="blockbench_export" parent="SolidChest" instance=ExtResource("1_sxwrc")]

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.271027, 0)
shape = SubResource("SphereShape3D_sxwrc")

[connection signal="OpenChest" from="." to="SolidChest/blockbench_export/AnimationPlayer" method="play" binds= ["Open"]]

[editable path="SolidChest/blockbench_export"]
