When I rotate My camera my player controls get inverted


I have this topdown game im working on. And when I rotate the camera the player controls get inverted. I have the idea the its because only the camera is rotating but I dont know how to implement that. please help

1 Like

How do you want it to work? When pressing the Walk Forward button:

  • are we walking along the floor in the direction the camera is facing?
  • are we walking in the direction the character is facing?
  • or are the controls world-aligned and Walk Forward always takes us North?

the 3rd option. I want it that north is wherever the north of the camera is, I got inspired by Vrising, so i really would like to have a topdown game like that.

That’s not the 3rd option. North is North regardless of where the camera is pointing. However, if you want World Direction, it’s just this:

This would always move you in the exact same direction regardless of the camera or pawn orientation.


Let’s take this frame for example:

If I press W of the WASD, where is it supposed to take me?

  • along the red arrow?
  • closer to the other dude?
  • towards world direction North (which would also be towards the dude I guess)

to the red arrow.

1 Like

Option 1 then, we follow camera orientation:

I’ve assumed you’re using a springarm.

ye im using spring arm thru a camera manager actor. should i plug this in my movement input? both x and y?

No need to split the vector, plug it in as is.


If in doubt, post script so we know what we’re dealing with exactly.


like this? it makes my camera vibrate, I think im doing it wrong

1 Like


Im sorry for being confusing. but this is my goal. I want the MOVE FORWARD to be moving to top to always follow the sphere on the video. in this video im holding the the “W” while i rotate the camera. but I dont want to always make the camera rotate to where my player is facing.

1 Like

Disconnect scale (for now), set it to 1, and call it only once.


For the sake of completeness:

You will need Scale to walk backwards. And for strafing, to negate the camera’s Right Vector. Providing it’s needed, ofc.


Not sure what else is there to your camera setup, the character may be using Control Rotation of the player controller which it should not, these should be disabled:


It works now tnx man. apparently my rotate function is the one that is blocking me from rotating properly, I changed it and now it works.

1 Like