SetPhysicsCameraMinTilt

Definition

SetPhysicsCameraMinTilt(float minTiltDegree)

Description

This function sets the minimum tilt of physics camera attached to the main character. It should be noted that the tilt of the physics camera is never less than this value.

Parameter

minTiltDegree
Specifies the minimum tilt of physics camera attached to the main character in degrees.

Example

function Init()
    SetPhysicsCameraMinTilt(-57.5)
end

function Update()

end
This scripts sets the minimum tilt of physics camera attached to the main character to –57.5 degrees.
adminSetPhysicsCameraMinTilt