Checks if a Triangle and a Circle intersect.
A Circle intersects a Triangle if its center is located within it or if any of the Triangle's sides intersect the Circle. As such, the Triangle and the Circle are considered "solid" for the intersection.
name | type | description |
---|---|---|
triangle | Phaser.Geom.Triangle |
The Triangle to check for intersection. |
circle | Phaser.Geom.Circle |
The Circle to check for intersection. |
true
if the Triangle and the Circle
intersect, otherwise false
.