[gd_scene load_steps=7 format=3 uid="uid://dvmkfm2l3vcf7"] [ext_resource type="Script" uid="uid://qnxswkkn24eo" path="res://Scripts/Interactables/3D/AnimatedSwitch3D.cs" id="1_2itqu"] [ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_442iw"] [ext_resource type="PackedScene" uid="uid://b11b5nh0lu7nq" path="res://3D/BlockbenchModels/Tubes/Valve.gltf" id="4_2itqu"] [ext_resource type="AudioStream" uid="uid://myr6n2c1u503" path="res://SFX/581602__samsterbirdies__beep-error.mp3" id="4_q1ywx"] [ext_resource type="Script" uid="uid://c077xadpua5iy" path="res://Scripts/Actors/3D/OpenCloseActorAnimationManager3D.cs" id="5_fw20q"] [sub_resource type="SphereShape3D" id="SphereShape3D_itd0i"] radius = 0.868968 [node name="Valve" type="Area3D" node_paths=PackedStringArray("Targets") groups=["Interactable"]] collision_layer = 32 collision_mask = 0 script = ExtResource("1_2itqu") Targets = [] metadata/_edit_group_ = true [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("SphereShape3D_itd0i") [node name="ActivationSound" type="AudioStreamPlayer3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868) stream = ExtResource("3_442iw") bus = &"Effects" [node name="DenySound" type="AudioStreamPlayer3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15351868) stream = ExtResource("4_q1ywx") bus = &"Effects" [node name="blockbench_export" parent="." instance=ExtResource("4_2itqu")] [node name="bone" parent="blockbench_export/Node" index="0"] transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0) [node name="AnimationManager" type="Node" parent="." node_paths=PackedStringArray("AnimationPlayer")] script = ExtResource("5_fw20q") 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="ClosedAnimationCompleted" from="AnimationManager" to="." method="ClosedAnimationFinished"] [connection signal="OpenAnimationCompleted" from="AnimationManager" to="." method="OpenAnimationFinished"] [editable path="blockbench_export"]