How to change the movement orientation?

Dear Community,

I have quite complicated question to describe, but I’ll try. I have set up a few cameras on my scene and the view from the camera is only displayed when I’m in the box trigger connected to the camera blueprint. However when I move to another room (for example), the view changes to the other camera, but the movement orientation stays as before. That means if I press left, the character turns right because of the specific camera position.

Is there any way to make movement orientation match to the camera view?

Thank you

Hmmm. What I would probably do is set up the character movement to run off of a ‘CurrentForwardVector’, such that when you press ‘Left’, you use the ‘CurrentForwardVector’ rotated by 90 degrees as the direction (and not a hard coded vector).

Then, I’d have the ‘CurrentForwardVector’ for the character be set when you change the camera, to whatever the camera’s forward vector is (although you may need to 0 out the Z component of the vector if you don’t want your character flying!)

Good luck!