fixed some ui stuff
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user