circleBodyIntersects(circle, body) → {boolean}
Checks to see if a circular Body intersects with a Rectangular Body.
Parameters
Name | Type | Description |
---|---|---|
circle | Phaser.Physics.Arcade.Body | The Body with |
body | Phaser.Physics.Arcade.Body | The Body with |
Returns
boolean -
Returns true if the bodies intersect, otherwise false.
- Source code: physics/arcade/World.js (Line 1125)
Please login to continue.