phaser - v4.0.0-rc.4
    Preparing search index...
    • The core separation function to separate a physics body and a tile.

      Parameters

      • i: number

        The index of the tile within the map data.

      • body: Physics.Arcade.Body

        The Body object to separate.

      • tile: Tile

        The tile to collide against.

      • tileWorldRect: Geom.Rectangle

        A rectangle-like object defining the dimensions of the tile.

      • tilemapLayer: TilemapLayer

        The tilemapLayer to collide against.

      • tileBias: number

        The tile bias value. Populated by the World.TILE_BIAS constant.

      • isLayer: boolean

        Is this check coming from a TilemapLayer or an array of tiles?

      Returns boolean