collide_circle_circle
Return true/false after testing collision between a circle and a circle
collide_circle_circle(
cx1,
cy1,
r1,
cx2,
cy2,
r2
)
Return true/false after testing collision between a circle and a circle
Syntaxe
var contact = collide_circle_circle( @todo )
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
cx1 | yes | - | center x of first circle | |
cy1 | yes | - | center y of first circle | |
r1 | yes | - | radius of first circle | |
cx2 | yes | - | center x of second circle | |
cy2 | yes | - | center y of second circle | |
r2 | yes | - | radius of second circle |