CapsuleOption
Option for creating a capsule MeshResource.
Chainable setters are provided to configure the capsule. Each setter returns this instance.
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.