- Home /
limiting player rotation
So I'm making a simple action racing game where the player drives through a series of tubes but I'm having trouble keeping the player object from getting stuck turning completely sideways. here's an example of the problem.
I'm not good at coding but I've gotten some simple c# scripts running in the game. I've been having trouble finding a good solution as the player will turn completely around over the course of the level and the y rotation will vary depending weather the player is upside down or not. any help is greatly appreciated, thank you.
Your answer
![](https://koobas.hobune.stream/wayback/20220612112026im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Car tutorial physics models rotating randomly? 1 Answer
Update speed and physics makes my rigidbody jiggle 2 Answers
Cart-pole system: how to apply the correct physics 1 Answer
[Solved] Getting relative torque from mass and set turn rate? 1 Answer
Character still walking when no key is already pressed 1 Answer