How to focus on the selected object?

  • In Maya if we have an object selected and we press F then the object is brought into focus and if no object is selected then all the objects in the scene are brought into focus.

    How can this be done in Blender?

  • Fweeb

    Fweeb Correct answer

    7 years ago

    Without knowing the specifics of the Maya feature, try pressing . on the your keyboard's numeric keypad. This adjusts your 3D View to focus on the selected object. You can also press / on the numeric keypad to get a "local view" of the selected object (pressing / again will pop you back to the scene view).

    To show all non-hidden objects in the 3D View, press Home.

    I don't have a numeric keypad

    @neckTwi, if you're using a laptop keyboard, there's often a Function key that enables a virtual numpad within the body of your main keyboard. However, you're working on a traditional USB or bluetooth keyboard that doesn't have a numpad, your options are more limited. In that case, your only option (outside of getting a new keyboard) is to remap the zoom and focus feature to another key.

    I am on Mac. Ctrl + scroll is doing the thing. Thank you as I found it in key mappings.

    I found camera navigation in the view menu

    What's the opposite of the `Home` function? To rotate the camera without focus on the center?

    @DerkJanSpeelman, I'm not sure I fully understand your question. Are you just asking what "might be" an opposite of the Home behavior or are you asking how to specifically do that?

    `.` period does nothing. Yes, my object is selected.

    @BrainSlugs83 `.` (decimal point) key on the numeric keypad (not the period key that's next to the comma key.)

  • Numpad . to zoom to selected (or menu View > Align View > View Selected)

    A to select all (you may need to hit it twice), then Numpad . will zoom to all objects.
    Or use ShiftC to reset view and recenter cursor.

  • Another option is using the Zoom Border tool (Shift+B, then LMB) to specify a 'rectangular area' of the 3D View and zoom in so that the region fills the actual viewport.

  • You can add your own hotkey for it.

    File > User Preferences > Input > 3D View > 3D View (Global)

    Scroll to the bottom of the 3d view section and click "Add New". The command is view3d.view_selected

  • I found that if you press N to access the right side menu, turn on Lock camera to view, then Ctrl+Alt+Numpad 0 to set camera to the current view angle, the press Numpad 0 to view and work in camera view it works better.

    Press Home to view full width of the window. Took me a long time and many frustrations to find out.

  • I added my own settings for view because I do not have a number pad either. i.e. instead of "numpad 7" I used just "7". I set all of the view and focus shortcuts to this, and it has worked fine ever since.

  • In Blender v2.81, hold the alt button and click with the middle mouse button to change centre of focus.

    why minuses? this is the most useful answer!

    This centers the view on the clicked point, not the selected object.

License under CC-BY-SA with attribution

Content dated before 6/26/2020 9:53 AM

Tags used