Hello,
I can determine whether the circle has penetracted the rect easy enough by projecting the circle's center onto the rect's center etc..
I'm looking for the quickest possible solution which can give me both contact normals and exact point of collision, taking circle radius into consideration.
Can anyone help or point me to something useful on the web?
[EDIT] ... Sods law, not long after the post, manged to work this out for myself :))
Cheers
Stevie
I can determine whether the circle has penetracted the rect easy enough by projecting the circle's center onto the rect's center etc..
I'm looking for the quickest possible solution which can give me both contact normals and exact point of collision, taking circle radius into consideration.
Can anyone help or point me to something useful on the web?
[EDIT] ... Sods law, not long after the post, manged to work this out for myself :))
Cheers
Stevie