How was this camera/player movement done?

I was just wondering how in from a Game called Scarlet Moon, while the player is running, the character ingame can turn and look in the direction of a key press, (Ex: W,A,S, or D) without changing the direction of the camera, this also works for their dodging system where if the player dodges, their character ingame will turn around and dodge towards the camera without affecting it.

(skip like 10 seconds or so I think)

1 Like

Custom third person camera centered on the player’s head + a simple camera shake making use of a bunch of math.random calls.