CapsuleOption

constructor(height: Float, radius: Float)

Parameters

height

The height of the capsule (including the two end hemispheres), in meters. Must be greater than 0.

radius

The radius of the capsule, in meters. Must be greater than 0.