Is there a way to have the mouse wheel move the viewport camera, rather than just zoom it (currently it just changes the FOV)? Unreal Editor does this and I find it a lot easier to use than Blender.
2 Answers
I believe this is called a Dolly Zoom (at least in Blender). There actually is a shortcut for it by default. (CTRL + SHIFT + Middle Mouse Down)
You can override the existing mouse wheel shortcuts though. Go to your keymap in the preferences, expand 3D View, then 3D View (Global).
Add two new entries for mouse wheel up and down
And uncheck the existing keymap entries to deactivate them.
Finally, save your preferences
One super fast way to dolly a currently selected camera, whether it is currently being viewed though or not, is to press 'g', 'z', 'z', and then drag the mouse in the viewport. The last 'z' switches the constrained axis to the Local Z, instead of the Global Z. It likewise would suffice to switch to Normal space before doing this, in which case only one press of 'z' is needed. Same goes for Local space. In fact, it doesn't matter whether you have your transform space currently set up as Local or Normal, at least not in this case, since either with work with just 'g', 'z'. If you instead remain in Global transform space, and don't want to switch into one of the others, that's the only time when 'g', 'z', 'z' will be necessary.
Note: There is a more specialized way to move the camera along its depth axis. With the camera selected AND currently looked through, you can press Shift-~ and this will put you in "free look mode" in Blender 2.8. This is the same as the older feature from Blender 2.79 that was accessed with Shift-F. Once in this mode, you can use the WASD keys to move around the scene. However, it's very slow at putting the camera anywhere new, so I prefer the 'g', 'z', 'z' method.
-
$\begingroup$ I think you misunderstood. I'm not talking about moving camera objects, I'm talking about moving the viewport camera. I.e. the thing you look through when you are editing. $\endgroup$– TimmmmCommented May 25, 2020 at 21:11
-
1
-
$\begingroup$ Should be said that using a camera object is a really great way to get precise view orientations. G Z Z is perfectly appropriate to control your view when you have some viewport locked to a camera. This is useful for a lot of other situations as well (smooth viewport roll comes immediately to mind; viewport panning is also kinda weird, really panning on the previewed camera plane, often better to move the camera in XY.) $\endgroup$– NathanCommented Sep 4, 2023 at 21:35