I have been reading an article on Collision Detection and how to resolve it.
In the section describing an AABB vs Circle, it states:
The first step is to get the centre of the circle and project it on to the boundary of the AABB. Fortunately this is as easy as forming the vector V between AABB and circle and simply clamping it against the half extents of the AABB.
In the picture provided, it makes sense. You get the vector between the two objects, and then get the closest virtice to the circle and use that in your computation.
But, how DO you take the width/height into account to that new vector? He says "..simply clamping it against the half extends of the AABB"
Can anyone clarify what he means?