This is a simple C# script, which will add a Dolly/Vertigo effect to the OVRCameraRig camera that is provided by the Oculus Rift Unity Integration package.
This script does not change or modify any Oculus Rift script code. It merely changes the values of the FOV that the OVRCameraRig uses during runtime.
The Dolly or Vertigo effect is used in many movies to show a sudden realisation by a character. For example the movies Vertigo or Jaws make use of this effect. It can also be used to make 'endless stretching hallways' by modifying the FOV of the camera. This might be useful if the scene needs to stay the same but you want to change the way it is perceived via the camera.
External packages required:
Oculus Rift Unity Integration package