Player moves on the x-axis, but not y

Player moves fine along the x-axis but will not move on the y-axis either on the keyboard or on controller. I’ve set manual values for both direction and scale with no result. It seems to be a problem with the “Add Movement Input” node.



Can you show your Get Forward Direction function?

I don’t see anything for MoveRight?

I assumed the OP meant that the pawn is rotated with mouse, but it only moves along the world X axis. I think this custom Get Forward Direction function is the culprit and it returns wrong values.

1 Like

Ah, you’re right…

I dont know how I fixed it but I removed the Get Forward Direction function and just replaced it with Get Control Rotation and Get Forward Vector, and it worked