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

Script language

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

CapsuleBoundsHandle.radius

public float radius;

Description

Returns or specifies the radius of the capsule bounding volume.

A negative value will automatically be converted into a positive value. If only a single radius axis is enabled, the value will automatically be converted to 0. This value can never exceed half the height.

See Also: PrimitiveBoundsHandle.axes.

Did you find this page useful? Please give it a rating: