- Home /
Change Global Rotation Precisely
Hello, I have a problem. For some reason the global rotation of my character has changed, and the terrain he is on is completely flat and he isn't rotated at all, except his global rotation and for some reason when I start the game my character starts rotating as if the terrain was shifted, but it's not. I was wondering if there was some way to change it back precisely instead of just guessing. Thanks!
Check colliders on your player, and all its children. $$anonymous$$ake sure they are all correctly scaled. Check terrain settings as well. Also I need to ask, is your character a CharacterController, or a Rigidbody?
Checked all the player settings nothing wrong there. And I don't need to check the terrain settings because i tried it on two different terrains. Also I'm using character controller.
If you just have a character w/ character controller component and built in script, just delete the one you're using and add a new one. If you have imporeted the standard assets pack, there is a fps controller you can just drag and drop to your scene ready to use.
Well the thing is, it's not a problem with the character controller. It's just that the global rotation is positioned wrong and I can't position it back evenly.
Your answer
Follow this Question
Related Questions
rotate 90% in local space 4 Answers
Global movement 0 Answers
I have a game that I want to create a tilted plane in. 1 Answer
Rotate Object to match terrain Slope 1 Answer
Global Euler Angles 1 Answer