Question by
Madkrumper9 · Oct 27, 2020 at 06:45 PM ·
c#rigidbodyship
player floats way from ship
I have a ship with a player on it and the player stays on, but just barely
Code:
CharRb.MovePosition(CharRb.position + ShipRigidbody.velocity / PlayerToShip * Time.fixedDeltaTime);
It will slowly drift off when the ship moves too much
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613014641im_/https://answers.unity.com/themes/thub/images/avi.jpg)