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