
My favorite part of tinkering with Unreal has been finding solutions to problems I hadn’t expected.
One of those “problems” was camera zoom.
Now, the type of game I’m working on doesn’t really necessitate this, but who doesn’t want to be able to zoom in on their character and check out their swag?!
Without further ado, here’s the Blueprint:

Here we’re using the Enhanced Input system to bind the zoom to the mouse wheel. You can play around with the min/max values on the clamps to get the zoom that’s right for you.

IA_CameraZoom is an Axis1D (float) Input Action.