SetCharacterControllerCapsuleRadius

Definition

SetCharacterControllerCapsuleRadius(float radius)

Description

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

Parameters

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

Example

function Init()
    SetCharacterControllerCapsuleRadius(2.0)
end

function Update()

end
This script sets the physics character controller capsule radius to 2.0.
adminSetCharacterControllerCapsuleRadius