This commit is contained in:
Tabby 2025-08-08 15:17:37 +10:00
parent f0f173ee06
commit 23b21cefbb
3 changed files with 14 additions and 4 deletions

View file

@ -17,8 +17,9 @@ func _process(delta: float) -> void:
target = temp_segment
if target:
position = lerp(position, target.position, 0.1 * delta)
zoom = lerp(zoom, Vector2(1,1),0.1 * delta)
# TODO FIX
position = lerp(position, target.position, 0.6 * delta)
zoom = lerp(zoom, Vector2(1,1),0.6 * delta)
else:
position = Vector2(0,0)
zoom = Vector2(0.05,0.05)