[gd_scene format=3 uid="uid://cwtfq7o3hwlb3"] [ext_resource type="Script" uid="uid://lq8qy8en082n" path="res://Scripts/SliderInteractable.gd" id="1_0qcwj"] [ext_resource type="Texture2D" uid="uid://b14x1ktdukdos" path="res://Textures/prototypeTextures/Orange/texture_10.png" id="2_6c2dc"] [ext_resource type="Texture2D" uid="uid://rl7io5cpswao" path="res://Textures/prototypeTextures/Purple/texture_10.png" id="3_le84w"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1mwko"] albedo_texture = ExtResource("2_6c2dc") uv1_triplanar = true [sub_resource type="BoxMesh" id="BoxMesh_va8t4"] size = Vector3(2.5, 3, 0.1) [sub_resource type="BoxShape3D" id="BoxShape3D_va8t4"] size = Vector3(2.5, 3, 0.1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qile1"] albedo_texture = ExtResource("3_le84w") uv1_triplanar = true [sub_resource type="BoxMesh" id="BoxMesh_1blfk"] size = Vector3(2, 3, 0.2) [sub_resource type="BoxShape3D" id="BoxShape3D_1blfk"] size = Vector3(2, 3, 0.2) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3et1r"] albedo_texture = ExtResource("3_le84w") uv1_triplanar = true [node name="SimpleSlideDoor" type="Node3D" unique_id=1454415556] [node name="SliderDoor" type="Node3D" parent="." unique_id=1580421982 node_paths=PackedStringArray("body", "slider_joint")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0.15) script = ExtResource("1_0qcwj") body = NodePath("RigidBody3D") slider_joint = NodePath("../SliderJoint3D") [node name="RigidBody3D" type="RigidBody3D" parent="SliderDoor" unique_id=2032280301] mass = 10.0 linear_damp = 1.0 [node name="MeshInstance3D" type="MeshInstance3D" parent="SliderDoor/RigidBody3D" unique_id=260047025] material_override = SubResource("StandardMaterial3D_1mwko") mesh = SubResource("BoxMesh_va8t4") [node name="CollisionShape3D" type="CollisionShape3D" parent="SliderDoor/RigidBody3D" unique_id=26715441] shape = SubResource("BoxShape3D_va8t4") [node name="SliderJoint3D" type="SliderJoint3D" parent="." unique_id=1977227640] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0.15) node_a = NodePath("../Frame") node_b = NodePath("../SliderDoor/RigidBody3D") linear_limit/upper_distance = 2.0 linear_limit/lower_distance = -2.0 [node name="Frame" type="StaticBody3D" parent="." unique_id=2032718459] [node name="FrameLeftMesh" type="MeshInstance3D" parent="Frame" unique_id=342954643] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.5, 0) material_override = SubResource("StandardMaterial3D_qile1") mesh = SubResource("BoxMesh_1blfk") [node name="FrameLeftCollider" type="CollisionShape3D" parent="Frame" unique_id=1824626497] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 1.5, 0) shape = SubResource("BoxShape3D_1blfk") [node name="FrameRightMesh" type="MeshInstance3D" parent="Frame" unique_id=2043053858] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1.5, 0) material_override = SubResource("StandardMaterial3D_3et1r") mesh = SubResource("BoxMesh_1blfk") [node name="FrameRightCollider" type="CollisionShape3D" parent="Frame" unique_id=685484447] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1.5, 0) shape = SubResource("BoxShape3D_1blfk")