SetCharacterControllerPosition

Definition

SetCharacterControllerPosition(float x, float y, float z)

Description

This function sets the three dimensional position of physics character controller.

Parameters

x, y, z
Specify the position of physics character controller.

Example

function Init()
    SetCharacterControllerPosition(2.5, 5.0, 7.0)
end

function Update()

end
This script sets the X, Y and Z position of physics character controller to 2.5, 5.0 and 7.0, respectively.
adminSetCharacterControllerPosition