phaser - v4.0.0-rc.4
    Preparing search index...

    Function RotateAroundDistance

    • Rotates an array of Game Objects around a point by the given angle and distance.

      Type Parameters

      Parameters

      • items: G

        An array of Game Objects. The contents of this array are updated by this Action.

      • point: object

        Any object with public x and y properties.

      • angle: number

        The angle to rotate by, in radians.

      • distance: number

        The distance from the point of rotation in pixels.

      Returns G