diff --git a/scenes/level_camera/level_camera_2d.gd b/scenes/level_camera/level_camera_2d.gd index 32f2e41..e584f5f 100644 --- a/scenes/level_camera/level_camera_2d.gd +++ b/scenes/level_camera/level_camera_2d.gd @@ -15,7 +15,7 @@ func _ready() -> void: assert(level != null, "The LevelCamera type must be used only in the level scene. It needs the owner to be a Level node.") -func _physics_process(delta: float) -> void: +func follow_gameplay(delta: float) -> void: var total_weight: float = ball_weight + player_weight * 2.0 target_pos = ( level.ball.global_position * ball_weight +