How to rotate camera up and down?

I was following a tutorial to make a character bp from scratch. For mouse input, they rotated the entire controller, but I want to rotate a camera. I used this section of code:

287046-capture.png

But, when I move my mouse up, nothing happens. Sidenote: I made a new input for MouseY with a scale value of 1.0.

Have a Look at your Axis value. It is a very Low Numbers Like between 1 and -1. Exchange setworldrotation with Something Like addrotation or If you want to use setrotation, you need to getrotation before and add the new Rotation Delta and Feed that Into newRotation

@Adnoh is there any chance you could provide a visual? I’m having some trouble understanding.

Yes, have a look at:

The left part is for your current solution. The right part is an alternative if you use controller rotation (check “use control rotation” setting in camera).
The problem with your code is that you set the rotation aboslutely what comes in from the Axis, and this is in Range between -1 and +1 - so it doesn’t really rotate

1 Like

@anonymous_user_7489c210 did it work?