Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Suddenly, for some reason, objects in the unity editor started rotating around their center of gravity (at least that's what I think is going on) instead of their pivot point. I tried placing the object inside an empty object which would serve as the new pivot point, like usual, but this did not change anything. Is this some setting or some updated feature? How can I stop it?

share|improve this question
    
This is using the Editor tools to rotate, or rotating from within a script? –  Byte56 Mar 27 at 16:42
    
This could be related to the 4.1, 4.2 and 4.3 updates when they added 2D support, objects can be defaulted to an average pivot point of itself and child objects instead of the specific pivot of the item selected. There is a setting you can change on the toolbar to show you which pivot you currently have displayed. This affects what the pivot point is for all transforms within the editor. –  Blue Mar 27 at 17:39
    
That was it, thanks a lot! –  David Mar 27 at 17:57
    
@Blue could you make your comment into an answer so this question can be flagged as answered after David has accepted it? Thanks. –  pek Mar 27 at 22:00
    
Done and done. I was just commenting while reviewing - :P Didn't occur to me to post it. –  Blue Mar 28 at 9:36
add comment

1 Answer

up vote 0 down vote accepted

This could be related to the 4.1, 4.2 and 4.3 updates when they added 2D support.

Objects can be defaulted to an average pivot point of itself and child objects instead of the specific pivot of the item selected. There is a setting you can change on the toolbar to show you which pivot you currently have displayed.

This affects what the pivot point is for all transforms within the editor:

Toolbar Pivot Image

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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