[gd_scene load_steps=3 format=3]

[ext_resource type="Texture2D" path="res://assets/textures/rusty_metal.png" id="1_rust"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_metal"]
albedo_texture = ExtResource("1_rust")
uv1_scale = Vector3(5, 5, 5)
texture_filter = 0

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

[node name="Hull" type="CSGCombiner3D" parent="."]
use_collision = true

[node name="OuterShell" type="CSGCylinder3D" parent="Hull"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
radius = 2.5
height = 20.0
sides = 12
material = SubResource("StandardMaterial3D_metal")

[node name="InnerVoid" type="CSGCylinder3D" parent="Hull"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
operation = 2
radius = 2.3
height = 19.0
sides = 12
material = SubResource("StandardMaterial3D_metal")

[node name="Floor" type="CSGBox3D" parent="Hull"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.8, 0)
size = Vector3(4, 1, 18)
material = SubResource("StandardMaterial3D_metal")

[node name="EmergencyLight" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 5)
light_color = Color(1, 0, 0, 1)
light_energy = 2.0
omni_range = 8.0
