-
Notifications
You must be signed in to change notification settings - Fork 27
Home
The Smooth Zoom Actor Component plugin allows for easy creation of smooth camera zoom on any Actor / Pawn / Character that has a spring arm and camera component. The current version is 1.4. See ChangeLog here.
To use this plugin, you will need to copy the contents into the PLUGINS folder inside of your project directory. Start the editor and enable under the PLUGINS menu option under EDIT.
You can also download the release package and copy to your engine plugin directory. Doing so will allow use of Blueprint only projects. Binaries are for Win64 ONLY.
Before adding the SmoothZoom component to your Blueprint, be sure to go to your project settings and add the necessary InputActions (i.e. ZoomIn, ZoomOut).
There are a couple of things you will need to do to get this working...the first is to ADD COMPONENT on any Actor / Pawn / Character that has a SpringArm and Camera attached. The name of the component is AC_SmoothZoom. Once its added, click on it and you will notice properties to the right.
- Min Target Length
- Max Target Length
- Zoom Units
- Zoom Smoothness (start with 9)
- Current Version
- Debug (this will display important information in your log)
The previous version required that the ZoomUnits be a variable so we can get ZoomOut to work. Instead, simply click the checkbox on the node to ZoomOut.
If you turn on the Debug you can see that in action.
A picture is worth a thousand words, so see below.
Special thanks to Orfeas Eleftherior for guidance and also to Valkrysa for testing. And, to VictorBurgos who said my first version sucked (and it did) which forced me to keep going!
Unreal Engine forum link here.
Video here: https://www.youtube.com/watch?v=B7BFLj9KI8E
