System Setup

First open your Player Controller.

DOCR.png

Then add “AC_RailCameraHandler” as a component.

PC2.png

Then Add “BPI_RailCameraController” interface.

PC3.png

Finally open the blueprint interface function called “Get Rail Camera Handler”, and plug “AC_RailCameraHandler” to the return value of the function.

PC4.png

Character Setup

Open your character blueprint.

The main goal here is to call the event “Handle Character Movement”. This event will move your character relative to the camera.

First step add your movement input, then find “AC_RailCameraHandler” and cache it. Second step is calling the event and plugging your 2D vector input to the event.

As shown here.

FindRailComp.png