Definition
double GetPhysicsCameraMinTilt()
Description
This function returns the minimum tilt of physics camera attached to the main character. You can set the minimum physics camera tilt through the Main Character Properties dialog (Insert > Main Character) or the SetPhysicsCameraMinTilt function.
Return Value
This function returns the minimum tilt of physics camera attached to the main character as a Double value in degrees.
Example
minTilt = 0.0 function Init() minTilt = GetPhysicsCameraMinTilt() message = string.format("\nPhysics camera min tilt is > %.2f" ,minTilt) PrintConsole(message) end function Update() endGetPhysicsCameraMinTilt