Issue with Player Position Syncing on Moving Ships in Netcode for GameObjects

Hi everyone,

I’m developing a multiplayer game in Unity using Netcode for GameObjects, and I have implemented a client prediction system for all interactable objects.

So far, my player movement works perfectly. I apply forces to the Rigidbody, and everything runs smoothly—players can see each other moving without any issues.

Now, I’m working on a game mode that involves ships. The current system allows players to board a ship and control it. To handle this, I parent the players to the ship so that they maintain a relative position while on board. This works perfectly from the player’s own perspective.

However, other players see me being dragged by the ship, even when I’m actually standing still on it. In reality, I am stationary, but for other players, my character moves along with the ship as if I’m being pulled by it.

What I Need Help With:

How can I properly synchronize player positions so that other players see me standing still when I should be still, and moving correctly when I walk around the ship? I want to prevent the issue where my character appears to be dragged along by the ship.

Any suggestions or guidance would be greatly appreciated!

Thanks!