I’m trying to get the player character to rotate so he faces the same way as the camera. I want to use animation so it look natural. I have programmed the animation however I want to play the turn left if he is turning eft and turn right if he is turning right.
My problem is I cannot find a good way to calculate if the camera is over the left or right shoulder.
Ahh I see the problem. I’m using the standard third person template and the not offset by relative location it is on a camera boom and rotates with the mouse.
What I really want is some method of querying if the camera is rotated to the left or right of the character. That way I would be able to select the animation to play.