capsule_geometry
Capsule geometry.
Dependencies
Attributes
Attribute | Type | Default | Description |
---|---|---|---|
radius | float | 0.5 | Radius of the spheres at each end of the capsule. |
height | float | 1 | Height of the cylindrical part of the capsule. |
axis | integer | 1 | Alignment axis. 0 for X, 1 for Y, 2 for Z. |
offset | vec3 | [ 0, 0, 0 ] | Geometry offset. |