I have two objects, a rectangle object and then a circular shaped object. At the moment i am using two rectangles to detect the collision of these objects, and although it is working the collision detectment is not accurate enough because using a rectangle means the collision is detected before the circle has actually been hit.
My question is what method could i use in order to detect the collision with the circle so that the collision is only detected when the rectangle actually intersects the circular object?