Sets the current body to a rectangle that matches the bounds of the tile.
name | type | arguments | description |
---|---|---|---|
options | Phaser.Types.Physics.Matter.MatterBodyTileOptions | <optional> |
Options to be used when creating the Matter body. See MatterJS.Body for a list of what Matter accepts. |
This TileBody object.