From 074c37aae5b25844a9e85e89b30893042c9e6059 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 3 Jul 2024 16:54:53 +0200 Subject: correct interpolation (except angles) --- client/map/items/item.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/map/items') diff --git a/client/map/items/item.gd b/client/map/items/item.gd index fb55b230..84d3f3fa 100644 --- a/client/map/items/item.gd +++ b/client/map/items/item.gd @@ -40,7 +40,7 @@ func _ready(): position = owned_by.global_position func _process(delta): - position = lerp(position, owned_by.global_position, delta * 30.0) + position = Global.interpolate(position, owned_by.global_position, delta * 30.0) func progress(p: float, warn: bool): progress_instance.visible = true -- cgit v1.2.3-70-g09d2