- Home /
Why did my Transform Component stop using degrees for rotation
The transform component on all of my gameobjects, prefas, and everything has changed, well, just the rotation part has. It is no longer in degrees but in some other variable. Instead of just an X, Y, and Z variable that can be manipulated, there are X, Y, Z, and a W. The variables are not in degrees, for example, if I want to change something by 90 degrees, I have to change it to 0.7 or -0.7. This is really getting on my nerves, I have tried removing the few plugins I have, I have tried reimporting everything. It is only in this project, I have another project where the transform component uses degrees. So it is something with my other project. Any and all help is appreciated. Thanks.
Answer by Bunny83 · Apr 21, 2014 at 09:23 AM
You probably have a custom inspector in your project which replaces the default inspector for the Transform component. You can find it by using MonoDevelops search function. Choose "search in files" and select "whole solution". Search for those terms one by one:
CustomEditor(typeof(Transform)
CustomEditor(Transform
CustomEditor(typeof(Component)
CustomEditor(Component
If non is found there might be some spaces before / after the brackets. In this case it's better to just search for
CustomEditor
To get all custom inspectors and check them manually if one of them is directly or indirectly used for the Transform.
That did the trick!! I did a search for "CustomEditor(typeof(Transform)" and it found a Quantum Theory folder and it was the one changing the transform component!!
Answer by Eric5h5 · Apr 20, 2014 at 05:02 PM
Change the inspector from debug mode back to normal mode.
I tried changing it to normal, but it was already on normal.
Your answer
Follow this Question
Related Questions
My Project keep upgrading all the time 0 Answers
Game-wide Variables 1 Answer
How can I stop the variable values reverting to its default values after being built? 1 Answer
CharacterController slower on slopes (up and down) 1 Answer
I can't assign new UI sliders to variable slots in 4.6.2f1 2 Answers