Changing controllers during gameplay

I want to change the inputs direction during gameplay to adapt my camera changes ( As in this video https://twitter.com/SeijiGameDev/status/1030304438500687873 )

Since the perspective change, the commands should adapt to the camera.
Let’s say W and S move on X axis, and A and D move on Y. If I turn my camera 90 degrees, A and D should be in X axis. (The video helps to understand what I am trying to say)

So, I’ve been trying to change in the Level Blueprint, just like I do my camera changes, what I am trying to do right now is rotating the character, so the Forward and Right vector rotate with it and all works… But the character rotates and the controller dont.

At first I was thinking in changing between PlayerControllers, but I readed that I would have to reload the level to do so.

So, how should I do it? Should I place all my controller schemes in one Player Controller and use some booleans to comunicate which one to use from the level blueprint? Or am I just missing something when I try to rotate the character?

Thanks for the help

What if before feeding your movement input into the Node that moves the actor,
pass the movement vector through a node to make the movement vector you’re about to use orient its forward the same as the camera’s?

Hey, thanks!

I didn’t know how to make the movement vector from the pawn get the camera orientation. Instead I got the camera forward and right vector, and now it’s working exactly how I wanted!

Thanks for the help, I didn’t know I could get the movement vectors from the camera.

Oh I’m glad that worked! Please mark my answer as Accepted to help others find this solution :slight_smile:

Marked, thanks :smiley: