Checks for intersection between the given tile rectangle-like object and an Arcade Physics body.
name | type | description |
---|---|---|
tileWorldRect | Object |
A rectangle object that defines the tile placement in the world. |
body | Phaser.Physics.Arcade.Body |
The body to check for intersection against. |
Returns true
of the tile intersects with the body, otherwise false
.