GetPhysicsCameraYaw

Definition

double GetPhysicsCameraYaw()

Description

This function returns the current yaw value of the physics camera attached to the main character.

Return Value

This function returns the current yaw value of the physics camera attached to the main character as a Double value in degrees.

Example

yaw = 0.0

function Init()

end

function Update()
    yaw = GetPhysicsCameraYaw()

    message = string.format("\nPhysics camera yaw is > %.2f" ,yaw)
    PrintConsole(message)
end
adminGetPhysicsCameraYaw