[gd_scene load_steps=9 format=3 uid="uid://c634jlnd870wg"]

[ext_resource type="Script" path="res://src/camera_trigger.ts" id="2_anf5t"]
[ext_resource type="PackedScene" uid="uid://b46lmxhgyg5fh" path="res://scenes/player.tscn" id="2_pd54o"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ijx74"]
albedo_color = Color(0.427493, 0.427493, 0.427493, 1)

[sub_resource type="PlaneMesh" id="PlaneMesh_0d3pj"]

[sub_resource type="WorldBoundaryShape3D" id="WorldBoundaryShape3D_0580h"]

[sub_resource type="BoxMesh" id="BoxMesh_7osgm"]

[sub_resource type="BoxShape3D" id="BoxShape3D_3vccc"]

[sub_resource type="BoxShape3D" id="BoxShape3D_fx65l"]

[node name="Node3D" type="Node3D"]

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.989102, 0.103249, -0.104963, -0.0287189, 0.834504, 0.550253, 0.144405, -0.541242, 0.828375, 0, 18.9707, 0)

[node name="Ground" type="StaticBody3D" parent="."]

[node name="MeshInstance3D" type="MeshInstance3D" parent="Ground"]
transform = Transform3D(50, 0, 0, 0, 1, 0, 0, 0, 50, 0, 0, 0)
material_override = SubResource("StandardMaterial3D_ijx74")
mesh = SubResource("PlaneMesh_0d3pj")
skeleton = NodePath("../../root/@EditorNode@16939/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@52/@VBoxContainer@53/@PanelContainer@98/MainScreen/@CanvasItemEditor@9272/@VSplitContainer@9094/@HSplitContainer@9096/@HSplitContainer@9098/@Control@9099/@SubViewportContainer@9100/@SubViewport@9101/Node3D")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Ground"]
shape = SubResource("WorldBoundaryShape3D_0580h")

[node name="Walls" type="Node" parent="."]

[node name="StaticBody3D" type="StaticBody3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 6, 0, 0, 0, 18, -4, 3, -3)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D"]
shape = SubResource("BoxShape3D_3vccc")

[node name="StaticBody3D2" type="StaticBody3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 6, 0, 0, 0, 26, 5, 3, -7)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D2"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D2"]
shape = SubResource("BoxShape3D_3vccc")

[node name="StaticBody3D3" type="StaticBody3D" parent="Walls"]
transform = Transform3D(26, 0, 0, 0, 6, 0, 0, 0, 1, -8, 3, -20)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D3"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D3"]
shape = SubResource("BoxShape3D_3vccc")

[node name="StaticBody3D6" type="StaticBody3D" parent="Walls"]
transform = Transform3D(10, 0, 0, 0, 6, 0, 0, 0, 1, 1, 3, 6)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D6"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D6"]
shape = SubResource("BoxShape3D_3vccc")

[node name="StaticBody3D4" type="StaticBody3D" parent="Walls"]
transform = Transform3D(17.5, 0, 0, 0, 6, 0, 0, 0, 1, -12, 3, -12)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D4"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D4"]
shape = SubResource("BoxShape3D_3vccc")

[node name="StaticBody3D5" type="StaticBody3D" parent="Walls"]
transform = Transform3D(1, 0, 0, 0, 6, 0, 0, 0, 8, -21, 3, -16)

[node name="MeshInstance3D" type="MeshInstance3D" parent="Walls/StaticBody3D5"]
mesh = SubResource("BoxMesh_7osgm")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Walls/StaticBody3D5"]
shape = SubResource("BoxShape3D_3vccc")

[node name="Cameras" type="Node" parent="."]

[node name="Camera3D" type="Camera3D" parent="Cameras"]
transform = Transform3D(-0.868308, 0.0669873, -0.491482, -0.0669873, 0.965926, 0.25, 0.491482, 0.25, -0.834234, -3, 4, -11)
current = true

[node name="Camera Trigger" type="Area3D" parent="Cameras"]
transform = Transform3D(8, 0, 0, 0, 8, 0, 0, 0, 14.4, 1, 2, -3)
script = ExtResource("2_anf5t")
camera = NodePath("../Camera3D")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Cameras/Camera Trigger"]
shape = SubResource("BoxShape3D_fx65l")

[node name="Camera3D2" type="Camera3D" parent="Cameras"]
transform = Transform3D(-0.258819, 0, -0.965926, 0, 1, 0, 0.965926, 0, -0.258819, -9, 2, -16)

[node name="Camera Trigger2" type="Area3D" parent="Cameras"]
transform = Transform3D(12.1176, 0, 0, 0, 9, 0, 0, 0, 9, -1, 2, -15)
script = ExtResource("2_anf5t")
camera = NodePath("../Camera3D2")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Cameras/Camera Trigger2"]
transform = Transform3D(1.1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_fx65l")

[node name="Camera3D3" type="Camera3D" parent="Cameras"]
transform = Transform3D(0.258819, 0, 0.965926, 0, 1, 0, -0.965926, 0, 0.258819, -9, 2, -15)

[node name="Camera Trigger3" type="Area3D" parent="Cameras"]
transform = Transform3D(9, 0, 0, 0, 9, 0, 0, 0, 9, -12, 2, -16)
script = ExtResource("2_anf5t")
camera = NodePath("../Camera3D3")

[node name="CollisionShape3D" type="CollisionShape3D" parent="Cameras/Camera Trigger3"]
transform = Transform3D(1.4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
shape = SubResource("BoxShape3D_fx65l")

[node name="CharacterBody3D" parent="." instance=ExtResource("2_pd54o")]

[connection signal="body_entered" from="Cameras/Camera Trigger" to="Cameras/Camera Trigger" method="_on_body_entered"]
[connection signal="body_entered" from="Cameras/Camera Trigger2" to="Cameras/Camera Trigger2" method="_on_body_entered"]
[connection signal="body_entered" from="Cameras/Camera Trigger3" to="Cameras/Camera Trigger3" method="_on_body_entered"]
