A capsule object, defined by 2 points and a radius. A capsule is a cylinder with round ends (inset half spheres on each end).
A capsule object, defined by 2 points and a radius. A capsule is a cylinder with round ends (inset half spheres on each end).
Member Name | Summary |
---|---|
FromHeightAndRadius | Creates a capsule from a specified height and radius. |
Member Name | Summary |
---|---|
RandomPointInside | Returns a random point within this capsule. |
RandomPointOnEdge | Returns a random point on the edge of this capsule. |
Member Name | Summary |
---|---|
CenterA | Position of point A. |
CenterB | Position of point B. |
Radius | Radius of a capsule. |