Skip to main content

19 docs tagged with "camera"

View all tags

GetPlayerCameraFrontVector

This function will return the current direction of player's aiming in 3-D space, the coords are relative to the camera position, see GetPlayerCameraPos.

GetPlayerCameraUpVector

This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen.

SetCameraBehindPlayer

Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.