Boss Battle Camera
Last updated
Last updated
A boss battle camera is an essential part of a camera system. Most action games have intense boss battles where players fight against a powerful boss. The camera, should simultaneously frame the boss (aim target) and the player character (follow target) on screen. You can use ScreenFollow and TargetingAim to create such a boss battle camera.
Right click on Content Browser -> "Blueprint Class" -> create a "ECameraBase" class.
Open the class blueprint, select the "Camera Settings Component" and on the "Details" panel, expand the "ECamera" section.
Choose ScreenFollow for "Follow Component", and TargetingAim for "Aim Component".
Set the properties in these two components, such as "Camera Distance", "Damp Params" and "ScreenOffset".
(Optional) You can add a ResolveOcclusion Extension on the "Extensions" section. This extension resolves occlusion in the camera sight direction.
In the blueprint where you want to call this camera, invoke the "CallCamera" node and pass in the "Camera Class", "Follow Target" and "Aim Target". You can also specify "Blend Time", "Blend Func" and "Blend Exp" if you want smooth blending in.