Ship mostly works #10
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user