- Home /
How do you recreate unity's rotation gizmo?
I want to provide the option in-game to rotate an object using a rotation gizmo just like the one in unity. I figured out how to detect mouse drags when the manipulators are clicked on, but I am having trouble with which values I need to set in order for the rotation to happen correctly. I have tried using transform.eulerAngles, but the y and z coordinates appear to be relative to the x coordinate. Any help would be greatly appreciated!
Your answer
Follow this Question
Related Questions
Smooth rotation in 90° increments 0 Answers
Fixing the rotation around a particular axis using Quaternions? 2 Answers
How do you smoothly transition/Lerp into a new rotation? 3 Answers
trouble with Quaternion rotation in 360 axis degree 0 Answers
Apply game object rotation using relative VR controller rotation? 2 Answers