fixed some ui stuff

This commit is contained in:
2023-11-09 17:56:08 +11:00
parent 0427a58635
commit e63b765753
17 changed files with 146 additions and 36 deletions

View File

@ -2,9 +2,11 @@ extends Camera3D
class_name MinimapCamera3D
@export var anchor : Node3D
@export var face_north : bool
#@export var face_north : bool
func _process(_delta: float) -> void:
global_position = anchor.global_position + (Vector3.UP * 100)
if face_north:
if Data.preferences.fixed_minimap:
rotation.y = 0
else:
rotation.y = anchor.rotation.y