mooball
    Preparing search index...

    Interface CreateDiscParams

    interface CreateDiscParams {
        bCoef?: number;
        cGroup?: UnparsedCollisionFlags;
        cMask?: UnparsedCollisionFlags;
        color?: UnparsedColor;
        damping?: number;
        gravity?: [x: number, y: number];
        invMass?: number;
        pos: [x: number, y: number];
        radius: number;
        speed?: [x: number, y: number];
    }
    Index

    Properties

    bCoef?: number

    The bouncing coefficient of the new disc.

    The collision group of the new disc.

    The collision mask of the new disc.

    The color of the new disc.

    damping?: number

    The damping of the new disc.

    gravity?: [x: number, y: number]

    The gravity (acceleration) of the new disc.

    invMass?: number

    The inverse mass of the new disc.

    pos: [x: number, y: number]

    The position of the new disc.

    radius: number

    The radius of the new disc.

    speed?: [x: number, y: number]

    The speed of the new disc.