phaser - v4.0.0-rc.4
    Preparing search index...
    type GravityWellConfig = {
        epsilon?: number;
        gravity?: number;
        power?: number;
        x?: number;
        y?: number;
    }
    Index

    Properties

    epsilon?: number

    The minimum distance for which the gravity force is calculated.

    gravity?: number

    The gravitational force of this Gravity Well.

    power?: number

    The strength of the gravity force - larger numbers produce a stronger force.

    x?: number

    The x coordinate of the Gravity Well, in world space.

    y?: number

    The y coordinate of the Gravity Well, in world space.