SetCharacterControllerCapsuleHeight

Definition

SetCharacterControllerCapsuleHeight(float height)

Description

This function sets the value of physics character controller capsule height to height.

Parameters

height
Specifies the capsule height of physics character controller. This value must be greater than 0.0.

Example

function Init()
    SetCharacterControllerCapsuleHeight(3.0)
end

function Update()

end
This script sets the physics character controller capsule height to 3.0.
adminSetCharacterControllerCapsuleHeight