Hello everyone, I’m new to UE 5 and I’m quite confused about the coordinate system as well as how the camera angle setting affects the assignment of the W A S D (Move) key. I understand that Y will be the axis for me to move horizontally and X will be the axis for me to move back and forth. But when I print it out, the result is not as expected. I press A D and the object moves up and down and vice versa with W S. Is there a way for me to clearly understand the problem that is happening so that I don’t repeat this error? Thank you very much.
Hey there @Ngokhaineee! Welcome to the community! It looks like you’re working in the Local Transform space in both your movement and your editor gizmo, so depending on how your pawn is setup you could be moving a different direction than expected.
One thing I see is that your action values aren’t hooked up to your multiply nodes, so the Add Actor Local Offset Node here isn’t actually doing anything. You can split the Action Value pin by right clicking it, then selecting Split Struct Pin then connect it to your multiply nodes.
Though I also see you’re using a pawn class, what kind of movement component does it have? For Character and Floating pawn movements, you would instead set your inputs up using the Add Movement Input node like this:
This is due to the fact that the pawn movement components have a generalized (and very helpful) movement system that can make it easier if you don’t need anything complex, but can also handle changing directions based on camera (in your case you don’t want that I assume).




