- Home /
how to move the transform gizmo?
How can I move the transform gizmo? I have a box with two parts – a lid and a bottom. I want to rotate the lid, but want the rotation to be centered on an edge of the box.
Answer by Xarbrough · Jun 18, 2015 at 09:51 PM
You are talking about the Scene View in edit mode, right?
Sadly, it is not possible to free move the transform gizmo or so much the pivot of an object in Unity by default. You can choose your pivot to be either Center or Pivot and choose the transform handle to be local or global, but that's it.
For the easiest workaround: Create an empty GameObject at the position of the hinges. Then drag your lid onto that object, making it a child. Now, when you rotate the empty gameobject, all child objects will follow and keep their offset. So basically you create your own custom pivot by parenting an empty object.
Please @flod, don't forget to click on the check mark of Xarbrough's answer to close the thread ! ;)
Your answer
![](https://koobas.hobune.stream/wayback/20220613201131im_/https://answers.unity.com/themes/thub/images/avi.jpg)