crashcat docs
    Preparing search index...

    Type Alias BoxShapeSettings

    settings for creating a box shape

    type BoxShapeSettings = {
        convexRadius?: number;
        density?: number;
        halfExtents: Vec3;
        materialId?: number;
    }
    Index

    Properties

    convexRadius?: number
    0.05
    

    DEFAULT_CONVEX_RADIUS

    density?: number
    1000
    

    DEFAULT_SHAPE_DENSITY

    halfExtents: Vec3

    half extents of the box

    materialId?: number

    material identifier

    -1