- Home /
Make the player rotate with the ship
In the project I'm working on I need a player to stay and be able to move freely on a ship that will be able to move. The ship is physics based and uses bouyancy to float. But when the ships turn for any reason ( Hits something, or by steering ) I want the players angle to follow. But I don't want to lock his rotation to the ships as I want the player to be able to look around.
Basically if the player looks left and the ships turns 90 degrees to the left the player will look forward. I want him to still be looking left.
Answer by LCStark · Sep 22, 2018 at 04:04 PM
The simplest way to do it would be to make your player object a child of the ship object.
Answer by KevinRevelj · Sep 22, 2018 at 08:24 PM
Not possible as both the ship and the player needs to have rigidboides.
Your answer
![](https://koobas.hobune.stream/wayback/20220612175057im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Two scripts rotating the same object 1 Answer
How to make a steering wheel that rotates when wheels do? 0 Answers
Rotating a ship with joystick and keeping camera centered. 0 Answers
making my space ship rotate then move. 0 Answers
Torque forces or Quaternion transforms for hovercraft rotations? 2 Answers