rename camera process function (will be called from level state)

This commit is contained in:
yuki 2025-11-19 15:17:29 -03:00
parent 4fdfdc3fdb
commit d022336dff

View file

@ -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 +