mooball
    Preparing search index...

    Interface UpdatePlayerParams

    interface UpdatePlayerParams {
        avatar?: string;
        bCoef?: number;
        cGroup?: UnparsedCollisionFlags;
        cMask?: UnparsedCollisionFlags;
        damping?: number;
        flag?: string;
        gravity?: [x: number, y: number];
        invMass?: number;
        name?: string;
        pos?: [x: number, y: number];
        radius?: number;
        speed?: [x: number, y: number];
        team?: UnparsedTeam3;
    }
    Index

    Properties

    avatar?: string

    The new avatar of the player.

    bCoef?: number

    The new bouncing coefficient of the player.

    The new collision group of the player.

    The new collision mask of the player.

    damping?: number

    The new damping of the player.

    flag?: string

    The new flag of the player.

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

    The new gravity (acceleration) of the player.

    invMass?: number

    The new inverse mass of the player.

    name?: string

    The new name of the player.

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

    The new position of the player.

    radius?: number

    The new radius of the player.

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

    The new speed of the player.

    The new team of the player.