C4 Engine
C4 Engine API Documentation

CapsuleVolume::SetCapsuleSize

Defined in:  C4Volumes.h
Sets the hemispherical cap size.
Prototype

void SetCapsuleSize(const Vector3D& size);

Parameters
size The new hemispherical cap size.
Description
The SetCapsuleSize function sets the physical dimensions of the hemispherical caps of the capsule volume to those specified by the size parameter. The center of the base of the interior cylinder coincides with the origin, and the three components of the size correspond to the radii of the hemispherical caps along the x, y, and z axes.
See Also

CapsuleVolume::GetCapsuleSize

CapsuleVolume::GetCapsuleHeight

CapsuleVolume::SetCapsuleHeight