SetPhysicsCameraNearClipPlane

Definition

SetPhysicsCameraNearClipPlane(float ncp)

Description

This function sets the near clip plane of physics camera attached to the main character to ncp.

Parameter

ncp
Specifies the near clip plane value of of physics camera attached to the main character. This value must be greater than 0.0.

Example

function Init()
    SetPhysicsCameraNearClipPlane(2.5)
end

function Update()

end
In this script, we set the near clip plane value of the physics camera attached to the main character to 2.5.
adminSetPhysicsCameraNearClipPlane