How do I rotate a pawn along my camera?

So I have a problem with my rolling ball game (using UE4 4.26), I got all the movement functionally: WASD to move and spacebar to jump. And I added a moveable camera using a spring arm and a little blueprinting. But the movement and moveable camera don’t get along, for example when I turn my camera 90°, my ball (which is a pawn) doesn’t rotate with the camera. So my camera rotation is 90° and my ball rotation would be -90° which inverts the WASD controls. So I need to rotate the ball with the camera, so when my camera rotation is 90°, the ball rotation is 90° as well. Any other methods would be appreciated and please note that the blueprint class is a PAWN not character.

Please be aware I am new to UE4 and would be appreciated if your specific!

Thanks in advance!

I hope this solves your problem. first select camera boom and tick All tick for in “Camera Settings” section next go-to camera and tick “Use Pawn Control Rotation”

That didn’t work, but the pawn rotates along the camera and the controls are still inverted! Do you know any way I could change the scale in the input axis mappings when I turn my camera?

for invert just multiply it in -1

333964-invert.jpg

1 Like

I have done a little fiddling around with the blueprint you gave. It should work if I do it properly, but I can’t find a way to make it work, so I will provide a picture of the movement and pawn rotation.