GetCharacterControllerJumpPower

Definition

double GetCharacterControllerJumpPower()

Description

This function returns the jump power value of the physics character controller.

Return Value

The jump power value of the physics character controller.

Example

value = 0.0

function Init()
    value  = GetCharacterControllerJumpPower()

    message = string.format("\nCharacter Controller Jump Power is : %.2f" ,value)
    PrintConsole(message)
end

function Update()

end
First we get the jump power value of the physics character controller. Then we display the result in the console using the PrintConsole function.
adminGetCharacterControllerJumpPower