C4 Engine
C4 Engine API Documentation

class CapsuleBlockerObject

Defined in:  C4Blockers.h
The CapsuleBlockerObject class encapsulates data pertaining to a capsule blocker.
Definition

class CapsuleBlockerObject final : public BlockerObject, public CapsuleVolume

Constructor

CapsuleBlockerObject(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 CapsuleBlockerObject class encapsulates a blocker volume shaped like a capsule whose dimensions are specified by the size and height parameters.
Base Classes
BlockerObject A CapsuleBlockerObject is an object that can be shared by multiple capsule blocker nodes.
CapsuleVolume A CapsuleBlockerObject is represented by a generic capsule volume.
See Also

CapsuleBlocker