move global_rotation_degrees to _physics_process in MainCamera

This commit is contained in:
2025-09-16 23:47:13 +10:00
parent 2e42638a4d
commit a9e1037bdb

View File

@@ -39,13 +39,13 @@ func _ready() -> void:
func _process(delta: float) -> void:
global_rotation_degrees = _angle_degrees
fov = _fov
_damage_shake(delta)
_hit_shake(delta)
func _physics_process(delta: float) -> void:
global_rotation_degrees = _angle_degrees
call_deferred("_process_following", delta)