- Home /
I need to alter the vector alignment of an object
I have a label in my GameObject. The label its reversed to it Blue forward direction. I rotate the label in the editor and the vector directions rotate with it. This means the object is locked with its vector direction at all times. I want to unlock this communion, rotate the label 180 then lock the vectors back in place so that the forward direction is looking at the reader of the label.. Or the label is always facing forward towards the user to be read. Other cad packages allow this but I can not seem to find in it in UNITY3d. Thank you.
Answer by robertbu · Feb 28, 2014 at 10:34 PM
There is no such feature in Unity. It would solve a lot of problems if there were. You will find an editor script at the following link that I wrote for another question. It takes whatever rotation and scale the object is currently in, and creates a clone of that object with rotation(0,0,0) and scale (1,1,1). After placing the script in the Editor folder, rotate and scale your object to however you want it to appear, select your object in the hierarchy, and pick RotateMesh from the Windows menu.
http://answers.unity3d.com/questions/561786/how-to-export-obj-from-editor-with-rescaled-mesh.html
Thanks RobertBU. I do remember now running across this last year. I did a parent of the problem child to correct this. Thanks for the refresh. I have this feature on $$anonymous$$oray/povray and it does spoil one.
Your answer
Follow this Question
Related Questions
OnGUI called after LateUpdate screwing up debug text database 1 Answer
Dynamic text problem 1 Answer
Check if GUI Label is full of text? 1 Answer
Custom Console in Application 1 Answer
generate text outside of unity. 1 Answer