<static> intersectsRectangle(c, r) → {boolean}
Checks if the given Circle and Rectangle objects intersect.
Parameters
Name | Type | Description |
---|---|---|
c | Phaser.Circle | The Circle object to test. |
r | Phaser.Rectangle | The Rectangle object to test. |
Returns
boolean -
True if the two objects intersect, otherwise false.
- Source code: geom/Circle.js (Line 536)
Please login to continue.