Closed enriie closed 6 years ago
There is a type in p5.collide2D examples & documentation for collideRectCircle().
Here is the typo, collideRectRect(x, y, width, height, x2, y2, width2, height2 ), it should say, collideRectCircle(x1, y1, width1, height1, cx, cy, diameter). The example uses correct function.
There is a type in p5.collide2D examples & documentation for collideRectCircle().
Here is the typo, collideRectRect(x, y, width, height, x2, y2, width2, height2 ), it should say, collideRectCircle(x1, y1, width1, height1, cx, cy, diameter). The example uses correct function.