blueprint

Calculate Dolly Zoom Distance

  • Exposure: public
  • UE Version: 5.0

avatar author

extralush

May 16, 2022, 9:43 am

Calculates the distance offset to compensate for the Focal Length adjustment in a Dolly Zoom camera move. A Dolly Zoom move requires there to be a preset framing (the screen width) then when adjusting the Field of View, the Distance needs to be updated.

Distance = ScreenWidth / ( 2 × Tan( FOV / 2 ) )

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v