Lerp and/or packet loss: inconsistent movement(multiplayer related)

Hi, I’m currently making a multiplayer game where players can fire with cannons off a ship, while an other player controls it. The ships position is lerped on the clients from the current position to the next received position. But propably because of packet loss or the lerp function, the environment around the ship sometimes jitterers noticeable, when a player who is not the network owner of the ship stands on it while it is moving. Because the player gets moved as fast as the ship when he is on it, the ship itself doesn’t jitter from the perspective of the player. It doesn’t matter if I move the ships with physics or transform.translate.

This is especially annoying when the players, which do not own the ship and therefore lerp the position of it, shoot with a cannon while the ship is moving, the cannonballs jitter back and fourth. I think the problem would also be strong noticed if an other ship(or an other object) with the same velocity moves alongside the ship. As I already said thats propably because of dropped network packets and always changing distances Vector3.Lerp got to bypass.

Does someone got a similiar problem or knows a solution to avoid it? It would be great if you could help me :).

Lerping isn’t really enough to compensate the lag. You will need to go deeper on that subject.
There is a lot of reading you can find on the net about it and it’s not an easy task.
Valve has some articles and some other people.

Do you mean things like networkInterpolatedTransform from the unity network example? I tried this and it didn’t made it any better.Is it the same as what is described at valve as Entity interpolation? Can you point me to some good articles :)? I already know the valve article but I think my problem goes in an other direction. The lag is barely noticable when the player is not on the ship and watchs it moving(as I would except it in an online game), its just the problem with standing on an object that is moved via network. What would you advice me to do on this specific problem?