[gd_scene format=3 uid="uid://brd3iponame0e"]

[ext_resource type="PackedScene" uid="uid://8ybwrid1vk4j" path="res://scenes/elevator_door.tscn" id="1_uuuf0"]
[ext_resource type="Script" uid="uid://cw4kqlft85a5g" path="res://scenes/elevator.gd" id="2_elev"]
[ext_resource type="PackedScene" uid="uid://d2hli7lwquq0c" path="res://scenes/elevator_wall.tscn" id="2_jmdsd"]

[sub_resource type="Animation" id="Animation_8o2wm"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ElevatorDoorRight:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(1.1535625, 2.9802322e-08, 0.0001654625)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ElevatorDoorLeft:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(-1.25, 0, 0)]
}

[sub_resource type="Animation" id="Animation_8lbij"]
resource_name = "elevator_close"
length = 3.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ElevatorDoorRight:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 3),
"transitions": PackedFloat32Array(0.5, 1),
"update": 0,
"values": [Vector3(1.1535625, 2.9802322e-08, 0.0001654625), Vector3(0.7, 0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ElevatorDoorLeft:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 3),
"transitions": PackedFloat32Array(0.5, 1),
"update": 0,
"values": [Vector3(-1.25, 0, 0), Vector3(-0.7, 0, 0)]
}

[sub_resource type="Animation" id="Animation_jmdsd"]
resource_name = "elevator_open"
length = 3.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("ElevatorDoorRight:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 3),
"transitions": PackedFloat32Array(0.5, 1),
"update": 0,
"values": [Vector3(0.7, 0, 0), Vector3(1.154, 0, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("ElevatorDoorLeft:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 3),
"transitions": PackedFloat32Array(0.5, 1),
"update": 0,
"values": [Vector3(-0.7, 0, 0), Vector3(-1.154, 0, 0)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_jmdsd"]
_data = {
&"RESET": SubResource("Animation_8o2wm"),
&"elevator_close": SubResource("Animation_8lbij"),
&"elevator_open": SubResource("Animation_jmdsd")
}

[node name="Elevator" type="Node3D" unique_id=242258467]
script = ExtResource("2_elev")

[node name="ElevatorWallLeft" parent="." unique_id=1751198646 instance=ExtResource("2_jmdsd")]
transform = Transform3D(-1, 0, 8.742278e-08, 0, 1, 0, -8.742278e-08, 0, -1, -1.2651916, 0, -0.080937)

[node name="ElevatorDoorLeft" parent="." unique_id=729245249 instance=ExtResource("1_uuuf0")]
transform = Transform3D(-1, 0, 1.509958e-07, 0, 1, 0, -1.509958e-07, 0, -1, -1.25, 0, 0)

[node name="ElevatorWallRight" parent="." unique_id=1939990578 instance=ExtResource("2_jmdsd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.2699873, 0, -0.080937)

[node name="ElevatorDoorRight" parent="." unique_id=1811985699 instance=ExtResource("1_uuuf0")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.1535625, 2.9802322e-08, 0.0001654625)

[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=373384447]
libraries/ = SubResource("AnimationLibrary_jmdsd")
