How to make a 2D camera rotation (UE 5.3)

Hey, hey! How you doing?

I’m trying to make a 2D game using the perspective camera (I don’t like the orthographic one), but with mechanics similar to FEZ.

My idea:
When you reach a corner, there will be a collider that makes the camera turn 90 degrees (to right or left).

I found this topic explaining how it is done in UE4, but I currently use 5.3 and there is no sidescroller template in it.

The problems I face now are with the camera, which when it changes, the character loses its axis and doesn’t move in the direction I want.
If I’m going to right and the camera boom rotate to right, then the character don’t move anymore.

Can anyone help me where to start?