CapsuleShape3D constructor

const CapsuleShape3D(
  1. double halfHeight,
  2. double radius
)

A capsule whose straight part is twice halfHeight long.

Implementation

const CapsuleShape3D(this.halfHeight, this.radius);