Definition
double GetPhysicsCameraFarClipPlane()
Description
This function returns the far clip plane value of physics camera attached to the main character.
Return Value
The far clip plane of of physics camera attached to the main character as a Double value. This value is greater than 0.0.
Example
fcp = 0.0 function Init() fcp = GetPhysicsCameraFarClipPlane() message = string.format("\nFCP is : %.2f" ,fcp) PrintConsole(message) end function Update() end
First we get the far clip plane value of the physics camera attached to the main character. Then we display the result in the console using PrintConsole function.
GetPhysicsCameraFarClipPlane