SetCharacterControllerStepOffset

Definition

SetCharacterControllerStepOffset(float stepOffset)

Description

This function sets the value of physics character controller step offset to stepOffset.

Parameters

stepOffset
Specifies the step offset of physics character controller. This value must be equal to or greater than 0.0.

Example

function Init()
    SetCharacterControllerStepOffset(0.2)
end

function Update()

end
This script sets the physics character controller step offset to 0.2.
adminSetCharacterControllerStepOffset