Add default light profile for PortMaster

This commit is contained in:
Alexander Sellite 2026-08-14 22:12:02 -04:00
parent a62cce6404
commit a3e0830bd1
16 changed files with 454 additions and 42 deletions

View file

@ -35,6 +35,12 @@ func _process(_delta: float) -> void:
)
func set_motion_enabled(enabled: bool) -> void:
set_process(enabled and amplitude > 0.0)
if not enabled:
position.y = _base_height
static func get_default_height_offset() -> float:
return calculate_height_offset(
_current_time_seconds(),