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