fix: switched to late update in camera operator to smooth movements

This commit is contained in:
Jakob Feldmann 2024-06-12 13:44:26 +02:00
parent 4e771f3076
commit a38acd711f

View File

@ -99,7 +99,7 @@ public class CameraOperator : MonoBehaviour
/// Zooms to keep players in frame. /// Zooms to keep players in frame.
/// Follows the players mid-point. /// Follows the players mid-point.
/// </summary> /// </summary>
private void FixedUpdate() private void LateUpdate()
{ {
Vector3 center = CalculatePlayersCenter(); Vector3 center = CalculatePlayersCenter();