crashcat docs
    Preparing search index...

    Type Alias CapsuleShapeSettings

    settings for creating a capsule shape

    type CapsuleShapeSettings = {
        density?: number;
        halfHeightOfCylinder: number;
        materialId?: number;
        radius: number;
    }
    Index

    Properties

    density?: number
    1000
    

    DEFAULT_SHAPE_DENSITY

    halfHeightOfCylinder: number

    half height of the central cylinder (excluding hemisphere caps)

    materialId?: number

    material identifier

    -1
    
    radius: number

    radius of the capsule