0

with:

rectangle().intersects(circle.getBounds2D())

I can check if the circle touched the rectangle, but how can I see at which side the circle touched the rectangle?

fhwui3
  • 1
  • 3
    For [example](https://stackoverflow.com/questions/13261767/java-ball-object-doesnt-bounce-off-of-drawn-rectangles-like-its-supposed-to/13263022#13263022) and [example](https://stackoverflow.com/questions/20927189/detecting-collision-of-two-sprites-that-can-rotate/20928531#20928531) – MadProgrammer May 02 '22 at 01:59

0 Answers0