You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm that would be really tricky. You could divide the collision into several steps:
Four circle/circle tests, one for each corner of the rectangle
Two circle/rect tests, one for the vertical rectangle made when you remove the rounded corners, then one for the horizontal one
But, unless you really need the perfect accuracy, I think simplifying the rounded rectangle to a regular one (just for collision) would be the better way to go. Hope that helps!
Collision of rounded rectangle and circle ,
Excuse me, is there a solution ?
The text was updated successfully, but these errors were encountered: