From deb0e4aa90f7e77d09b4a5678d7a9f87dfc0e07c Mon Sep 17 00:00:00 2001 From: teatov Date: Tue, 4 Mar 2025 20:15:26 +1000 Subject: [PATCH] move camera `_process` to `_physics_process` --- scripts/main_camera.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main_camera.gd b/scripts/main_camera.gd index 9252575..cabb600 100644 --- a/scripts/main_camera.gd +++ b/scripts/main_camera.gd @@ -15,7 +15,7 @@ func _ready() -> void: Referencer.main_camera = self -func _process(delta: float) -> void: +func _physics_process(delta: float) -> void: var follow_position: Vector3 = Vector3.ZERO for player in Referencer.players: follow_position += _follow(player, delta)