[gd_scene load_steps=6 format=3 uid="uid://bubtvv3pa06py"] [ext_resource type="PackedScene" uid="uid://b12y0mtx6ibo8" path="res://3D/BlockbenchModels/Door/Door.gltf" id="1_7axon"] [ext_resource type="Script" uid="uid://b5yceosypf3mu" path="res://Scripts/Actors/3D/Door3D.cs" id="1_y1ovr"] [ext_resource type="Script" uid="uid://c077xadpua5iy" path="res://Scripts/Actors/3D/OpenCloseActorAnimationManager3D.cs" id="3_evf52"] [sub_resource type="BoxShape3D" id="BoxShape3D_7axon"] size = Vector3(1.99927, 2.00482, 0.140869) [sub_resource type="BoxShape3D" id="BoxShape3D_evf52"] size = Vector3(0.98187256, 2.0062256, 0.44836426) [node name="Door3d" type="AnimatableBody3D" groups=["Solid"]] collision_layer = 16 collision_mask = 0 script = ExtResource("1_y1ovr") [node name="blockbench_export" parent="." instance=ExtResource("1_7axon")] [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.00524902) shape = SubResource("BoxShape3D_7axon") [node name="PlayerDetector" type="Area3D" parent="."] collision_layer = 0 collision_mask = 2 [node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerDetector"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.035308838, 0.0099487305, -0.035583496) shape = SubResource("BoxShape3D_evf52") [node name="AnimationManager" type="Node" parent="." node_paths=PackedStringArray("AnimationPlayer")] script = ExtResource("3_evf52") AnimationPlayer = NodePath("../blockbench_export/AnimationPlayer") [connection signal="Closing" from="." to="AnimationManager" method="PlayClosing"] [connection signal="Opening" from="." to="AnimationManager" method="PlayOpening"] [connection signal="SetClosed" from="." to="AnimationManager" method="SkipToClose"] [connection signal="SetOpen" from="." to="AnimationManager" method="SkipToOpen"] [connection signal="area_entered" from="PlayerDetector" to="." method="OnPlayerDetected"] [connection signal="area_exited" from="PlayerDetector" to="." method="OnPlayerUndetected"] [connection signal="ClosedAnimationCompleted" from="AnimationManager" to="." method="ClosedAnimationFinished"] [connection signal="OpenAnimationCompleted" from="AnimationManager" to="." method="OpenAnimationFinished"] [editable path="blockbench_export"]