cooking
This commit is contained in:
parent
f0f173ee06
commit
23b21cefbb
3 changed files with 14 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue