Rotating a contrained character around a game environment (3d Scroller)

So I’m working on a prototype, and what I want to do is have the character behave like the 3d scroller template, but when you get to a location trigger, it rotates the character / camera 90 degrees and then you would move on this new locked axis.

What would be the best way to handle something like this? Im trying to do a sidescroller, but with triggered turns basically. I’m also really new to blueprint and Unreal, so any help would be appreciated.