Announcement

Collapse
No announcement yet.

First Person Zoom in BP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    First Person Zoom in BP

    Hi Guys,

    So attached is a screenshot of my blueprint for zooming in in a first person blueprint. It is functional and works, however I am trying to find a way to do it smoother. Can anyone shed any light on this? Maybe create a timer?

    Thanks,

    Mark

    Click image for larger version

Name:	Zoom BP.png
Views:	1
Size:	375.0 KB
ID:	1166581

    #2
    Hi.
    You can interp the fov in the tick event
    Click image for larger version

Name:	QQ截图20151108184813.png
Views:	1
Size:	110.4 KB
ID:	1092930

    The other way using Timeline
    Click image for larger version

Name:	a.png
Views:	1
Size:	55.4 KB
ID:	1092933
    Click image for larger version

Name:	b.png
Views:	1
Size:	23.5 KB
ID:	1092934
    Last edited by 3dgo; 11-08-2015, 07:16 AM.

    Comment


      #3
      Thank you. I'll have have a go at this tonight

      Comment


        #4
        Didn't work unfortunately.

        Comment


          #5
          Here's the thing. FInterp works by outputting a number greater than the current input, and <= the target input; driven by the Delta Time input and the Interp Speed input. As a result, to reach the target number, FInterp needs to be called multiple times(e.g. from the Tick function) with up-to-date values. I.e. the output from the previous call should be the Current input on this call.

          Unfortunately, the mouse button inputs are one-time calls. Ergo, the setup you posted will not work as you want.

          I would suggest trying 3dgo's first screenshot, as that would be how I would set it up.

          Comment


            #6
            There's no reason to be constantly calling that on tick when the player isn't even zooming. The timeline should work fine, what about it didn't work?

            Comment

            Working...
            X