How can I turn the Player Character towards the camera when I attack?


In most games, if your player is facing one way but you are looking another, the character will turn to swing the way towards the camera viewpoints (melee combat). I think of this as aiming with the camera. Can anyone give me advice on how to implement that? CPP or BPs, I just want the general logic behind it because I’m struggling coming up with it.

Hi Big Rubber Ducky,

I just put this together. It’s made in the context of the Third Person template Character.

Hopefully it should help get you started.