Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Stuck in free-rotation in scene mode?

Discussion in 'Editor & General Support' started by DESTRUKTORR, Aug 28, 2012.

  1. DESTRUKTORR

    DESTRUKTORR

    Joined:
    Jul 4, 2012
    Posts:
    22
    I'm not entirely sure what I did, but I must have pressed a number of keys by accident when sitting down to work on my project today, and for whatever reason, Unity refuses to focus on an object in the scene window, now... When I select an object and press "f," it does its normal animation dealie where it moves the camera to the corresponding position and rotation, as per usual. The trouble is, once that's done, it still won't rotate the camera around that point, but in stead rotates it about the center-point of the scene camera (or what I assume is its center-point).

    I looked all through the preferences and have gone through several searches to find some sort of "free rotation" hotkey for the scene view, but have had no luck, thus far. Forgive me if this seems like a "noobish" problem, but clearly this isn't documented well enough for me to have any way of knowing what to do in this situation...

    Does anyone know what I may have done, and/or how to fix it??
     
    Last edited: Sep 3, 2012
  2. DESTRUKTORR

    DESTRUKTORR

    Joined:
    Jul 4, 2012
    Posts:
    22
    I will do this but once, and then I'm thinking I'll just post it in the unity answers section... since apparently people don't check out new threads all too often, here...
     
  3. Aurore

    Aurore

    Director of Real-Time Learning Unity Technologies

    Joined:
    Aug 1, 2012
    Posts:
    3,106
    Have you tried hitting z to change your pivot mode? Your object pivot may be off. Although, the camera in unity always rotates around the centre of the screen space, hitting f centres the camera on the target object.
     
  4. DESTRUKTORR

    DESTRUKTORR

    Joined:
    Jul 4, 2012
    Posts:
    22
    Yes, I'm aware of the f-key dealie, and I tried hitting z, and switching between global and local, as well as center and pivot. It actually went away, for a time, but just recently came back. I'm thinking this might be a bug, since this time I'm almost certain I didn't press any random keys.

    [edit] Figured it out. I don't know what the hotkey is, but if you right click the center box on the axis icon in the upper right part of the scene menu, you'll get a dropdown menu. I was in perspective mode, apparently.
     
    Last edited: Sep 3, 2012
    lucidtripper likes this.
  5. lucidtripper

    lucidtripper

    Joined:
    Aug 3, 2017
    Posts:
    21
    for me it was the little lock icon next to the axis - was locked.. now unlocked and back to normal.. perspective mode is correct mode

    +1 small victory today