best way to update focal length?

hi,

i have a cinematic camera that is referenced in the level BP and I want to update the Focal Length of the camera to 45 over 5 seconds, so each second it slowly gets up to 45 just not sure how to do this?

Hey @james.wallace01!

You’ll want to use a LERP (float).

Alpha would be the output from the timeline (Time to End).
“A” would be your starting focal length. (not current focal length because it’s recursive)
“B” would be your goal focal length.

Then the output of your LERP node would go into “Current focal length”. :slight_smile:
Hope that helps!

1 Like

my god that worked flawlessly thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.