Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How to fix random delay in FOV change for zoom function?


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:

  1. I press right mouse button down

  2. It starts zooming in, the 0.3 second timeline plays while slowly changing the FOV

  3. It stops changing FOV at 45 (correct)

  4. I then wait a few seconds while shooting at some boxes

  5. I let go of the right mouse button

  6. It is still zoomed in (wrong, should be zooming out instantly)

  7. 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

Product Version: UE 4.21
more ▼

asked Dec 14 '18 at 10:37 AM in Blueprint Scripting

avatar image

boy will be boy
12 3 1 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I guess you forget to click that key which in the timeline,called Use Last Keyframe.The timeline is still running while your FOV has already been 45!So when you pressure it,it wont be at 0.3 second.If you keep clicking zoom for 1 sec,and you need to spend 1 sec waiting it turning into 90 Hope I can help you.

[1]: /storage/temp/262340-123.png

123.png (28.2 kB)
more ▼

answered Dec 14 '18 at 02:04 PM

avatar image

23 2 4

avatar image boy will be boy Dec 15 '18 at 06:41 AM

Thank you so much for helping me, I love you!!!!

avatar image DoubyBear Dec 15 '18 at 01:54 PM

Many of the engine features are difficult to understand.As for me a Chinese that will be more difficult to understand,I have ever been in trouble like you,I even spent many days to solve the problem.Finally,I found I forgot to check the button.I thought there must be something wrong with my book,It was because I am too careless.....

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question