C4 Engine
C4 Engine API Documentation

class CapsuleShape

Defined in:  C4Shapes.h
The CapsuleShape class represents a capsule shape node in a world.
Definition

class CapsuleShape : public Shape

Constructor

CapsuleShape(const Vector3D& size, float height);

Parameters
size The size of the hemispherical caps of the capsule.
height The height of the cylindrical interior of the capsule.
Description
The CapsuleShape class represents a shape node that is shaped like a capsule whose dimensions are specified by the size and height parameters.
Base Classes
Shape A capsule shape is a specific type of shape.
See Also

CapsuleShapeObject