How can I test if a circle and a rectangle have collided? I need the
penetration depth to move out of collision.
Please log in or register to post a reply.
Dave Eberly’s site has great info about testing and calculating
There’s some code for “Intersection of rectangles and circles” on that