move global_rotation_degrees to _physics_process in MainCamera
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user