move camera _process to _physics_process

This commit is contained in:
2025-03-04 20:15:26 +10:00
parent 24671a4bdc
commit deb0e4aa90

View File

@@ -15,7 +15,7 @@ func _ready() -> void:
Referencer.main_camera = self Referencer.main_camera = self
func _process(delta: float) -> void: func _physics_process(delta: float) -> void:
var follow_position: Vector3 = Vector3.ZERO var follow_position: Vector3 = Vector3.ZERO
for player in Referencer.players: for player in Referencer.players:
follow_position += _follow(player, delta) follow_position += _follow(player, delta)