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

Simply put your character as the Target for “Get Actor Location” and “Set Actor Rotation” and it will look at wherever your mouse is! I tested this as well to make sure it works.

If you don’t want debug lines to draw, then change the “Draw Debug Type” under “Single Line Trace for Objects” to “None”. As well, this Blueprint will only look at Static geometry (BSP brushes, etc.), so you may want to add more types to the “Make Array” node. Just click “Add pin” and select all of the things that you want to look at from the drop-down.

1 Like