Transferring rigidbody velocity/rotation to another rigidbody

For a multiplayer game I am making I want to have a large space ship that can be controlled and navigated around by the captain while other members can freely move around to go to another post for example.

My problem is that just copying the velocity or rotation like this works very poorly:

Player.velocity = Ship.Velocity;

Using RotateAround and copying the inertia as well I was able to create the right results.
But only if the velocity and rotation of the ship where manually changed.
If the ship would interact with physics like a colliding object then my used methodes would not work.

How would I be able to copy pivoted velocity and rotation from the ship to the player?

You could set the ship as the player’s parent.

Example:

player.transform.parent = ship.transform;

Players will then move along with the ship, while still being able to freely move around within the ship. However, should the ship collide with something, the players will not be thrown all over the place. Which might or might not be a good thing, depending on what you want to happen. :slight_smile: