- Home /
Build rotation tool for level editor
I'm trying to make a simple rotation tool for my level editor. I have build this arrows.
i want this tool to appear in front of any face of the object i click on. For example if i have a cube and i click in the front face of the cube the arrows appears in front of the object.
If i click on the upper side of a cube to appear there.
I don't now how to implement that. Do you know how ???
You could just create/use a shader which draws after/on top of the objects. Then you can just place it at the object origin.
Your answer
Follow this Question
Related Questions
Having trouble rotating a turret 1 Answer
How to create quaternion defined by angle and up vector 2 Answers
How to tilt object towards the direction it's going, while it can be rotated to face any direction? 0 Answers
Strange rotation pattern. 0 Answers
GameObject is not rotating/scaling the way I expect it to [Hololens] 0 Answers