mooball
    Preparing search index...

    Interface AddPlaneParams

    interface AddPlaneParams {
        bCoef?: number;
        cGroup?: UnparsedCollisionFlags;
        cMask?: UnparsedCollisionFlags;
        dist: number;
        normal: [x: number, y: number];
    }
    Index

    Properties

    bCoef?: number

    The bouncing coefficient of the new plane.

    The collision group of the new plane.

    The collision mask of the new plane.

    dist: number

    The distance of the new plane to the origin(0,0).

    normal: [x: number, y: number]

    The normal of the new plane. This value is normalized automatically.