Capsule Geometry

capsule_geometry

Capsule geometry.

Dependencies

Attributes

AttributeTypeDefaultDescription
radiusfloat0.5Radius of the spheres at each end of the capsule.
heightfloat1Height of the cylindrical part of the capsule.
axisinteger1Alignment axis. 0 for X, 1 for Y, 2 for Z.
offsetvec3[ 0, 0, 0 ]Geometry offset.