Documentation

Unity Engine

Unity Engine

height

Returns or specifies the height of the capsule bounding volume.
Read time 1 minuteLast updated a month ago

Definition

public float height { get; set; }

Remarks

Negative values are automatically converted into positive values. If CapsuleBoundsHandle.heightAxis is disabled, the value is automatically converted to
0
. This value is always at least twice the CapsuleBoundsHandle.radius.