From a38acd711f5788ca78f8d8b8bfdc59c9c54e6879 Mon Sep 17 00:00:00 2001 From: Jakob Feldmann Date: Wed, 12 Jun 2024 13:44:26 +0200 Subject: [PATCH] fix: switched to late update in camera operator to smooth movements --- Assets/Scripts/CameraOperator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/CameraOperator.cs b/Assets/Scripts/CameraOperator.cs index ab584b7..f3cb4e5 100644 --- a/Assets/Scripts/CameraOperator.cs +++ b/Assets/Scripts/CameraOperator.cs @@ -99,7 +99,7 @@ public class CameraOperator : MonoBehaviour /// Zooms to keep players in frame. /// Follows the players mid-point. /// - private void FixedUpdate() + private void LateUpdate() { Vector3 center = CalculatePlayersCenter();