SetPhysicsCameraMaxTilt

Definition

SetPhysicsCameraMaxTilt(float maxTiltDegree)

Description

This function sets the maximum tilt of physics camera attached to the main character. It should be noted that the tilt of the physics camera never exceeds this value.

Parameter

maxTiltDegree
Specifies the maximum tilt of physics camera attached to the main character in degrees.

Example

function Init()
    SetPhysicsCameraMaxTilt(57.5)
end

function Update()

end
This scripts sets the maximum tilt of physics camera attached to the main character to 57.5 degrees.
adminSetPhysicsCameraMaxTilt