GetPhysicsCameraTilt

Definition

double GetPhysicsCameraTilt()

Description

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

Return Value

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

Example

tilt = 0.0

function Init()

end

function Update()
    tilt = GetPhysicsCameraTilt()

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