First open your Player Controller.

Then add “AC_RailCameraHandler” as a component.

Then Add “BPI_RailCameraController” interface.

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

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.
