crashcat docs
    Preparing search index...

    Type Alias PlaneShape

    a plane shape - infinite plane but with bounded representation for broad-phase. the negative half-space (where signedDistance < 0) is considered solid.

    planes have no mass properties and should only be used on static bodies.

    type PlaneShape = {
        aabb: Box3;
        centerOfMass: Vec3;
        halfExtent: number;
        materialId: number;
        plane: Plane3;
        type: PLANE;
        volume: number;
    }
    Index

    Properties

    aabb: Box3

    shape local bounds (computed)

    centerOfMass: Vec3

    shape center of mass (always at origin)

    halfExtent: number

    half-extent for bounded representation

    materialId: number

    material identifier

    plane: Plane3

    plane equation: point · normal + constant = 0

    type: PLANE

    plane shape type

    volume: number

    shape volume (always 0 - infinite/static)