SetDistanceBetweenPhysicsCameraAndCharacterController

Definition

SetDistanceBetweenPhysicsCameraAndCharacterController(float distance)

Description

This function sets the the distance between physics camera and physics character controller.

Parameters

distance
Specifies the distance between physics camera and physics character controller. This value must be greater than 0.0.

Example

function Init()
    SetDistanceBetweenPhysicsCameraAndCharacterController(5.0)
end

function Update()

end
This script sets the distance between physics camera and physics character controller to 5.0.
adminSetDistanceBetweenPhysicsCameraAndCharacterController