[gd_scene load_steps=8 format=2]

[ext_resource path="res://assets/environment/skyboxes/nebula_space/panorama_image.png" type="Texture" id=1]
[ext_resource path="res://scenes/entities/railgun.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/entities/DebugLookAtTarget.gd" type="Script" id=3]
[ext_resource path="res://scenes/entities/missile.tscn" type="PackedScene" id=4]

[sub_resource type="PanoramaSky" id=1]
panorama = ExtResource( 1 )

[sub_resource type="Environment" id=2]
background_mode = 2
background_sky = SubResource( 1 )

[sub_resource type="SphereMesh" id=3]

[node name="world" type="Node"]

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )

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

[node name="railgun" parent="entities" instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.50682, 0, -7.59585 )
LookAtTarget = NodePath("LookAtTarget2")

[node name="LookAtTarget2" type="Position3D" parent="entities/railgun"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 8.694, 29.5299 )
script = ExtResource( 3 )

[node name="MeshInstance" type="MeshInstance" parent="entities/railgun/LookAtTarget2"]
mesh = SubResource( 3 )

[node name="missile" parent="entities" instance=ExtResource( 4 )]
transform = Transform( -1, 0, -8.74229e-08, 0, 1, 0, 8.74228e-08, 0, -1, 2.0179, 4.1307, -11.9562 )

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

[node name="main_light" type="DirectionalLight" parent="lighting"]
transform = Transform( 0.784772, 0.331552, 0.523648, -0.612234, 0.54618, 0.571714, -0.0964525, -0.76926, 0.631614, 7.76443, 10.2646, 7.06444 )
light_color = Color( 1, 0.941176, 0.854902, 1 )

[node name="rim_light" type="DirectionalLight" parent="lighting/main_light"]
transform = Transform( 0.921065, 0.320717, -0.22086, 0.2725, -0.936009, -0.222781, -0.278177, 0.145011, -0.94952, -3.6761, -8.54977, -15.0604 )
light_color = Color( 0.411765, 0.854902, 0.92549, 1 )
light_energy = 0.2

[node name="Camera" type="Camera" parent="."]
transform = Transform( -1, -1.42109e-14, -8.74228e-08, -6.25476e-08, 0.698653, 0.715461, 6.10781e-08, 0.715461, -0.698653, 2.0179, 16.7567, -19.9562 )
current = true
