crashcat docs
    Preparing search index...

    Type Alias SphereShape

    sphere shape

    type SphereShape = {
        aabb: Box3;
        centerOfMass: Vec3;
        density: number;
        materialId: number;
        radius: number;
        type: SPHERE;
        volume: number;
    }
    Index

    Properties

    aabb: Box3

    shape local bounds

    centerOfMass: Vec3

    shape center of mass

    density: number

    the shape density

    materialId: number

    material identifier

    radius: number

    the radius of the sphere

    type: SPHERE
    volume: number

    shape volume