Documentation

Unity Engine

Unity Engine

height

The height of the capsule measured in the object's local space.
Read time 1 minuteLast updated a day ago

Definition

public float height { get; set; }

Remarks

The capsule's height will be scaled by the transform's scale. Note: The height is the actual height including the half-spheres at each end.