Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

CapsuleBoundsHandle.height

public float height;

Description

Gets or sets the height of the capsule bounding volume.

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

See Also: heightAxis, PrimitiveBoundsHandle.axes.