A capsule whose straight part is twice halfHeight long.
halfHeight
const Capsule3DShape(this.halfHeight, this.radius);