# Orbit Camera

Sometimes you want to look around the target actor in an orbital way. Then you can use the *OrbitFollow* plus *ControlAim* to define orbits with different heights and radii and control camera position on orbits.

<figure><img src="https://1253177398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIc7aRtmwmEkkqEJZORmC%2Fuploads%2FKhFJ4M8noMclqNXc9t1P%2FOrbitCamera.gif?alt=media&#x26;token=db683b54-0cbc-4165-bf40-c887886c2391" alt=""><figcaption></figcaption></figure>

1. Right click on Content Browser -> "Blueprint Class" -> create a "ECameraBase" class.
2. Open the class blueprint, select the "Camera Settings Component" and on the "Details" panel, expand the "ECamera" section.
3. Choose *OrbitFollow* for "Follow Component", and *ControlAim* for "Aim Component".
4. In *OrbitFollow*, you should add several orbits as well as the "Blend Func" which is used to interpolate orbit radii at different heights. In *ControlAim*, you can set the "Recentering Params", "Horizontal Heading", and horizontal/vertical speed multiplier.
5. (Optional) You can add a [ResolveOcclusion](https://sulleyyys-organization.gitbook.io/manuals-of-ccs/camera-components/extension-components/resolveocclusionextension) *Extension* on the "Extensions" section. This extension resolves occlusion in the camera sight direction.&#x20;
6. In the blueprint where you want to call this camera, invoke the "CallCamera" node and pass in the "Camera Class" and "Follow Target". You do not need to specify "AimTarget" as *ControlAim* only receives player input. You can also specify "Blend Time", "Blend Func" and "Blend Exp" if you want smooth blending in.
