Checks if two Rectangles overlap. If a Rectangle is within another Rectangle, the two will be considered overlapping. Thus, the Rectangles are treated as "solid".
name | type | description |
---|---|---|
rectA | Phaser.Geom.Rectangle |
The first Rectangle to check. |
rectB | Phaser.Geom.Rectangle |
The second Rectangle to check. |
true
if the two Rectangles overlap, false
otherwise.