Actually lerping the positions

This commit is contained in:
Chris Bell 2024-12-19 19:51:21 -06:00
parent e43e0cc890
commit dc635482c8

View File

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