HOW TO MAKE CAMERA FACE THE MOUSE CLICK POINT?

Hi, I’m trying to make my first-person camera look at where I make a mouse click.

for example, my character is in a room and its camera is looking at a wall (Point A), if I click at one corner of the ceiling (Point B), my camera will slowly face that Corner. but my BP doesn’t seem to work, See picture below for reference…

I tried putting the yaw, pitch, roll to all possible combination but nothing seems to work, I always gets a weird camera movement/rotation…

need help! :smiley: thanks!

you want to sent the camera rotation not add controller input, or rinterp too if you want it smooth

To add to what @Auran131 said, if your Camera is attached to a Spring Arm you can enable Camera Rotation Lag to smooth out the rotation. And directly set World Rotation of the Spring Arm to the Look At Rotation on mouse click.

OOOOH thanks guys! i also found out about the RINTERP and SPRING ARM, yes i just realized i was playing with the wrong numbers and controls :smiley:

thanks for helping me out!