Circle.intersectsRectangle()

<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)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.