Refine cockpit porthole and indicators
This commit is contained in:
1 parent
53288b48c8
commit
c2b3ac42a3
8 files changed
+298
-10
No files matched your search
@@ -30,6 +30,13 @@ func apply_screen_materials(dashboard: Node3D) -> void:
|
||||
screen.material_override = _materials.instrument_screen
|
||||
|
||||
|
||||
func hide_placeholder_indicators(cockpit: Node3D) -> void:
|
||||
for indicator_name: String in ["CyanIndicator", "AmberIndicator", "RedIndicator"]:
|
||||
var indicator := cockpit.get_node_or_null(indicator_name) as MeshInstance3D
|
||||
if indicator != null:
|
||||
indicator.visible = false
|
||||
|
||||
|
||||
func _build_structural_frame() -> void:
|
||||
CockpitMeshFactory.add_box(
|
||||
"TopRail",
|
||||
|
||||
Reference in new issue
Block a user