PLAYGROUND (experimental)

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

NameTypeRequiredDefaultDescription
cx1yes-center x of first circle
cy1yes-center y of first circle
r1yes-radius of first circle
cx2yes-center x of second circle
cy2yes-center y of second circle
r2yes-radius of second circle