Tweening Camera FOV when sprinting

Try this:

camera.fov = lerpf(camera.fov (75 if Input.is_action_pressed("sprint") else 65), delta*10.0)

Replace the “camera” with your Camera node, and 75 is sprinting fov and 65 is normal, you can adjust them.

1 Like