Sequenced Camera
Last updated
Last updated
Sequenced cameras allow you to call a sequence of cameras in order, with specified duration and blend settings. For example, you can create the following camera by setting up three static cameras with blending between.
You can crerate and call a sequenced camera by following the next steps:
Create a new blueprint class inheriting ESequencedCameraActor
, and name it whatever you like, say, SequencedCameraActor.
Open it and go to the Details panel, add as many cameras as you like in the Camera Sequence section. Here I add three cameras, all of which are static camera. Note that if you intend to call a static camera, make sure the Preserve State option is off, and if you do not want to the camera to stay after blending finishes, make Blent Time and Duration equal.
To create a static camera (the camera is put at a fixed position in your level), first find the correct position and rotation where you want to put the camera, and then copy the position as well as the rotation to the CameraComponent property in this camera.
After you set up all sub-cameras, in the level blueprint or somewhere else you want to use this sequenced camera, call the CallSequencedCamera
node and pass in the sequenced camera actor you just implemented. And that's it!
Caveat: Sequenced cameras should only be used on occasions you want to exhibit some nice, simple and smooth camera trajectories by setting the same Blend Time and Duration in (almost) each static camera. DO NOT interrupt this camera by calling another camera intermediately.