FlexiCam Blueprints Tutorial
Step-by-step example of how to create your own Character setup and Camera Mode
Prerequisites
- A character Blueprint with basic movement (the Third Person Template character, etc.)
Third Person Camera Mode
This section shows how to set up basic Third Person Camera Mode
-
Add
SpringArmComponentto your Blueprint -
Make the
FlexiCameraComponenta child of theSpringArmComponent -
Add
FlexiCameraModeManagerComponentto your Blueprint -
Set
Default Camera Mode ClassinFlexiCameraModeManagerComponenttoBP_ThirdPersonModeWarning
If you don’t perform this step, the View Transform will be zero.
You now have a basic Third Person camera set up.
FlexiCam Interface
To work properly with other plugin systems, such as Camera Mode Trigger our character need to implement FlexiCam Interface
-
Go to
Class Settingsmenu on top of editor -
Inside
Detailspanel inImplemented Interfacesproperty click on add button and search forFlexiCamInterface -
On the left side of the Editor find
FlexiCamInterfaceand double-click onGetFlexiCameraModeManagerComponentfunction -
Drag and drop
Camera Manager ComponentfromComponentspanel and place it to Return Value
Creating custom Camera Mode
-
Open
Content Browser, pressRight Mouse Buttonand selectBlueprint Classmenu -
Press
All CLASSESand search forFlexiCameraModeCreate Blueprint and name in CM_SideScroller. Open this Blueprint.
-
In the
Functionsmenu of your Blueprint selectOverrideoption and chooseUpdate Viewfunction -
Press
Right Mouse Buttoninside of Event Graph and search forGet Pivot Locationfunction !!! tip This function returns location ofActorthat haveFlexiCameraComponentand this mode applied. -
Add two variables to the Blueprint as shown in the image.
Drag and drop them into Event Graph (with Get option).
-
Drag pin from
Default Rotationvariable and search forRotate Vectorfunction
Connect Camera offset variable to it

-
Drag
Return Valuepin ofGet Pivot Locationfunction and search for"+"signConnect
Rotate Vectorresult to add function -
Now search for
ModeViewstruct. ChooseSetoptionDrag out
Mode Viewpin and selectMake FlexiCameraModeView -
Connect pins as shown in the image below
-
Select
Camera offsetvariable and set default value to-500.0 | 0.0 | 0.0
Now we have a fully functional Side Scroller mode. Let’s see how to activate it.
Camera Mode Trigger
-
In
Content BrowsercreateFlexiCameraModeTriggerBlueprintCall it
CMT_SideScroller -
Inside this Blueprint set
Camera Mode Classvariable to ourCM_SideScroller -
Place the trigger in your level and scale it to the desired size
Now when Character inside of CMT_SideScroller our new CameraMode is active.
Tip
You can change camera angle by change Default Rotation inside CM_SideScroller Blueprint
Blend Camera Modes
Let’s make the blending between our two CameraModes smoother.
See the difference.
Congratulations! Now you know how to set up your own Camera Modes.
Tip
To see how to change input by camera mode see BP_FlexiCamCharacter























