Adds MatterTileBody
instances for the given tiles. This adds bodies regardless of whether the
tiles are set to collide or not.
name | type | arguments | description |
---|---|---|---|
tiles | Array.<Phaser.Tilemaps.Tile> |
An array of tiles. |
|
options | object | <optional> |
Options to be passed to the MatterTileBody constructor. {@see Phaser.Physics.Matter.TileBody} |
This Matter World object.