How to allow a 3rd person character to face where the mouse is aiming

Hi Denjino,

If you simply what the character to face the direction in which the mouse is pointing, take a look at the 3rd Person Blueprint Template and under the Blueprints folder for My Character, go to the Defaults tab and search for Pawn. Check the User Controller Rotation Yaw option and that will allow the pawn to face the direction the mouse is pointing.

Note: The character in this example doesn’t animate and rotate towards the camera, there would be a little more involved in this.

Hope this helps points you in the right direction (yes pun intended)!

-W

1 Like