0
\$\begingroup\$

You used to be able to set a GameObject with your Mesh as a child of an Empty GameObject. By rotating the Empty the Mesh would rotate around the position of the Empty. Now after the update it seems it's auto calculating a Median Point.

Here's the problem: https://www.youtube.com/watch?v=gxB_6c75oP0

I should be able to keep the original Origin of the empty GameObject no matter what children it gets. What happened to Unity?

This is how it used to be: https://answers.unity.com/questions/609267/how-to-change-the-origin-of-a-gameobject.html

\$\endgroup\$
  • 1
    \$\begingroup\$ If you look at the button next to the RectTransform tool, what does it say? "Pivot" or "Center"? \$\endgroup\$ – Hellium Feb 13 '18 at 16:08
  • 2
    \$\begingroup\$ Specifically, I think Hellium is asking about the Transform Gizmo Toggles mentioned in the docs about the editor Toolbar. \$\endgroup\$ – DMGregory Feb 13 '18 at 17:58
  • 1
    \$\begingroup\$ I agree with Hellium and DM Gregory. It looks like you've switched the Gizmo rotation mode. \$\endgroup\$ – Draco18s Feb 13 '18 at 18:34
4
\$\begingroup\$

Next to the RectTransform tool, you will find a toggle that has two states "Pivot" or "Center".

enter image description here

This Gizmo handle position toggle is used to define the location of the Transform tool Gizmo of the selected objets, and the handles use to manipulate the Gizmo itself.

  • When set to Pivot, the Gizmo is positionned at the actual pivot point of a Mesh.
  • When set to Center, the Gizmo is positionned at the center of the GameObject’s rendered bounds.

According to your problem, the toggle is set to Center. Click on the toggle to set it to Pivot. Now, you have the correct pivot point of your empty.

Source: https://docs.unity3d.com/Manual/PositioningGameObjects.html

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.