Definition
double GetCharacterControllerStepOffset()
Description
This function returns the step offset value of the physics character controller.
Return Value
The step offset value of the physics character controller.
Example
value = 0.0 function Init() value = GetCharacterControllerStepOffset() message = string.format("\nCharacter Controller Step Offset is : %.2f" ,value) PrintConsole(message) end function Update() end
First we get the step offset value of the physics character controller. Then we display the result in the console using the PrintConsole function.
GetCharacterControllerStepOffset