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