Head look based on camera rotation

SjaakPastinaak
Tue, 22 Dec 2015 00:19:46 +0000
Blueprint

I’m trying to create a system where the player character’s head follows the direction of the camera that i’ve attached to it. I’m nearly there, but there is an issue i can’t seem to wrap my head around. Whenever my character is facing the default spawn direction it will work as expected and follow the camera’s rotation as shown below:

However, when my character is facing the opposite direction he will look left and right as expected, but looking up and down is inverted.

I’ve been trying to fix this issue for the past couple of hours, but i can’t seem to find an answer myself. I’m guessing it has something to do with relative vs. world rotation, but i can’t for the life of me figure out how to change the blueprint so that it works properly.
Below is shown how i currently have my blueprint setup:

If anyone could shed some light on this to point me in the right direction i’d really appreciate it.

4 posts - 4 participants