[gd_scene load_steps=5 format=3 uid="uid://dadx4i1rio3bh"]

[ext_resource type="Script" uid="uid://byo1yv7evj2w7" path="res://src/scripts/structures/passage.gd" id="1_k27qu"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v23ns"]
albedo_color = Color(0.0392157, 0.0392157, 0.0392157, 1)
proximity_fade_enabled = true

[sub_resource type="BoxMesh" id="BoxMesh_k27qu"]
material = SubResource("StandardMaterial3D_v23ns")
size = Vector3(5, 4, 1)

[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_v23ns"]
points = PackedVector3Array(2.5, 2, 0.5, 2.5, 2, -0.5, -2.5, 2, 0.5, 2.5, -2, 0.5, 2.5, -2, -0.5, -2.5, 2, -0.5, -2.5, -2, 0.5, -2.5, -2, -0.5)

[node name="Passage" type="StaticBody3D"]
collision_layer = 2
script = ExtResource("1_k27qu")

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_k27qu")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("ConvexPolygonShape3D_v23ns")
