Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


radius

Returns or specifies the radius of the capsule bounding volume.
Read time 1 minuteLast updated 12 days ago

Definition

public float radius { get; set; }

Remarks

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 CapsuleBoundsHandle.height.
Additional Resources: PrimitiveBoundsHandle.axes.