mooball
    Preparing search index...

    Interface UpdateDiscParams

    interface UpdateDiscParams {
        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 new bouncing coefficient of the disc.

    The new collision group of the disc.

    The new collision mask of the disc.

    The new color of the disc.

    damping?: number

    The new damping of the disc.

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

    The new gravity (acceleration) of the disc.

    invMass?: number

    The new inverse mass of the disc.

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

    The new position of the disc.

    radius?: number

    The new radius of the disc.

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

    The new speed of the disc.