class CapsuleShapeObject
Defined in:
The C4Shapes.h
CapsuleShapeObject
class encapsulates data pertaining to a capsule shape.
Definition
class CapsuleShapeObject : public ShapeObject, public CapsuleVolume
Constructor
CapsuleShapeObject(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 CapsuleShapeObject
class encapsulates a physics shape that is a capsule whose dimensions are specified by the size
and height
parameters.
Base Classes
ShapeObject |
A CapsuleShapeObject is an object that can be shared by multiple capsule shape nodes.
|
CapsuleVolume |
A CapsuleShapeObject is represented by a generic capsule volume.
|
See Also