[gd_scene load_steps=13 format=3 uid="uid://p07epxnh8wwp"] [ext_resource type="Script" uid="uid://dyq1n7q1bqjps" path="res://scripts/ship.gd" id="1_efag7"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_ship"] friction = 0.1 bounce = 0.2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hull"] albedo_color = Color(0.35, 0.37, 0.42, 1) metallic = 0.6 roughness = 0.4 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_accent"] albedo_color = Color(0.25, 0.55, 1, 1) metallic = 0.3 roughness = 0.5 emission_enabled = true emission = Color(0.25, 0.55, 1, 1) emission_energy_multiplier = 0.35 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_canopy"] albedo_color = Color(0.15, 0.85, 1, 1) metallic = 0.8 roughness = 0.1 emission_enabled = true emission = Color(0.15, 0.85, 1, 1) emission_energy_multiplier = 0.5 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_engine"] albedo_color = Color(1, 0.55, 0.15, 1) emission_enabled = true emission = Color(1, 0.55, 0.15, 1) emission_energy_multiplier = 2.0 [sub_resource type="BoxMesh" id="BoxMesh_hull"] material = SubResource("StandardMaterial3D_hull") size = Vector3(1, 0.75, 2.7) [sub_resource type="PrismMesh" id="PrismMesh_nose"] material = SubResource("StandardMaterial3D_accent") size = Vector3(1, 1.4, 0.75) [sub_resource type="BoxMesh" id="BoxMesh_canopy"] material = SubResource("StandardMaterial3D_canopy") size = Vector3(0.55, 0.28, 0.8) [sub_resource type="BoxMesh" id="BoxMesh_fin"] material = SubResource("StandardMaterial3D_accent") size = Vector3(0.1, 0.5, 0.8) [sub_resource type="BoxMesh" id="BoxMesh_engine"] material = SubResource("StandardMaterial3D_engine") size = Vector3(0.7, 0.5, 0.25) [sub_resource type="BoxShape3D" id="BoxShape3D_dsjou"] size = Vector3(1, 1, 4) [node name="Ship" type="RigidBody3D"] mass = 5.0 physics_material_override = SubResource("PhysicsMaterial_ship") inertia = Vector3(1, 1, 1) script = ExtResource("1_efag7") [node name="Hull" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.125, 0.35) mesh = SubResource("BoxMesh_hull") [node name="Nose" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0, 1, 0, -1, 0, 0, -0.125, -1.3) mesh = SubResource("PrismMesh_nose") [node name="Canopy" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.36, -0.5) mesh = SubResource("BoxMesh_canopy") [node name="TailFin" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.25, 1.25) mesh = SubResource("BoxMesh_fin") [node name="EngineGlow" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.125, 1.85) mesh = SubResource("BoxMesh_engine") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("BoxShape3D_dsjou")