math & physics
arctwelve at September 5th, 2005 19:41 — #1
How can I test if a circle and a rectangle have collided? I need the penetration depth to move out of collision.
dk2 at September 5th, 2005 19:51 — #2
Dave Eberly's site has great info about testing and calculating intersections:
There's some code for "Intersection of rectangles and circles" on that page.