Timeline for 2D circle and rotated square collision detection and response
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 23, 2022 at 16:02 | comment | added | DMGregory♦ | It sounds to me like you have two questions. 1) How to detect when the circle and rectangle overlap (which the search hits in liggiorgio's explain quite well), and 2) How to resolve the collision you've detected (I have a previous answer here giving an overview of the tactics you might apply for this). Can you review this existing Q&A, and edit your question to walk us through your understanding or attempts based on this research? Highlight a specific step you need help with, so we can focus on that rather than repeat what's already there | |
| Jun 23, 2022 at 9:46 | comment | added | DarePhoenix | @liggiorgio, yes I already checked, but it's mostly about detection, and some explanations are quite hard to understand for me. | |
| Jun 23, 2022 at 9:45 | comment | added | DarePhoenix | @Mangata, the rectangle have a fixed position, and I want the cricle to be replaced outside of then rectangle (so collision response) | |
| Jun 23, 2022 at 9:01 | comment | added | liggiorgio | There're some previous Q&As about Circle/Square collisions. You can also consider that, by applying the inverse transform of the Square (rotate both the Square and the Circle, but keep their relative distance and direction), you are now working in Square local coordinates, letting you to apply Circle/AABB collision detection methods. | |
| Jun 23, 2022 at 8:34 | comment | added | Mangata | Do you want to just detect overlap or get some physical effect? Do rectangular objects have angular velocity? | |
| S Jun 23, 2022 at 8:03 | review | First questions | |||
| Jun 23, 2022 at 9:02 | |||||
| S Jun 23, 2022 at 8:03 | history | asked | DarePhoenix | CC BY-SA 4.0 |