fix: switched to late update in camera operator to smooth movements
This commit is contained in:
parent
4e771f3076
commit
a38acd711f
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user