Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


height

Returns or specifies the height of the capsule bounding volume.
Read time 1 minuteLast updated 12 days 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.