Hello,
I am new to game making and the Unreal Engine, and I have encountered my first unfixable problem.
I am using the starter Unreal Engine First Person project level, and I wanted to add a “zoom” functionality like in most FPS games. To do this, I want it to reduce the FOV of the main camera when the right mouse button is held down, and I want it to do it smoothly using timeline.
Here is the blueprint I have created that is semi-working:
The Zoom InputAction is set to right mouse button. When I use this the following happens:
- I press right mouse button down
- It starts zooming in, the 0.3 second timeline plays while slowly changing the FOV
- It stops changing FOV at 45 (correct)
- I then wait a few seconds while shooting at some boxes
- I let go of the right mouse button
- It is still zoomed in (wrong, should be zooming out instantly)
- The amount of delay is similar to the length of time I held down the button while zooming in
I do not know why there is a delay at step 6, it should quickly start the Timeline, right?
If you know how to remove the delay, please let me know.
Thank you