move camera _process to _physics_process
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user