Rotating my Game object modifies also the Transform position
Hello there! i have a very puzzling issue, and i have run out of ideas to fix it due ot my noobism.
I have a rectangular UI element composed of 4 game objects buttons with text attached and images. These 4 game objects are Parented by an empty game object which controls the positioning of the whole group.
When i select this ParentObject and changes its rotate Z in the editor Transform component, the value of Z changes but seem to be rotating around a weird pivot point. When i use the rotation gizmo though, when i select the proper axis and turn around, it revolves around the pivot point that point, but the translate x and y value are weirdly changing.
I have checked every anchors of my Game objects, checked that my prefab was not bogus or something, but i am hitting a wall. When i select my parent and press my Center/Pivot button, i get to see that the pivot is off, though i don't see a reason for it to be like such.
I don't really understand why there is this behavior, and i hope someone can explain to me so i can fix it :).