From dc635482c85efd1bfe7eb757af66de47a129f20c Mon Sep 17 00:00:00 2001 From: Chris Bell Date: Thu, 19 Dec 2024 19:51:21 -0600 Subject: [PATCH] Actually lerping the positions --- assets/core/ships/ship_script.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/core/ships/ship_script.gd b/assets/core/ships/ship_script.gd index f745a74..fa629a2 100644 --- a/assets/core/ships/ship_script.gd +++ b/assets/core/ships/ship_script.gd @@ -139,8 +139,8 @@ func _send_ship_sync(): func _handle_ship_sync_position(pos: Vector3): - lerp(global_position, pos, 0.1 * delta_time) + global_position = lerp(global_position, pos, 0.1 * delta_time) func _handle_ship_sync_rotation(rot: Vector3): - lerp(global_rotation, rot, 0.1 * delta_time) + global_rotation = lerp(global_rotation, rot, 0.1 * delta_time)