Skip to content

playerLookVector

uniform vec3 playerLookVector;

This value stores the world aligned direction the player model’s head is facing. This facing direction is not affected by animations such as swimming, making this value equivalent to the direction the camera is facing in first person and rear third person views, and the reverse of the camera direction in front third person view.