How to know if two ellipses are colliding - Pygame

Viewed 134

I need to know if 2 ellipses are colliding in pygame/python

I know how to detect collision between two circles using :

if radius1 + radius2 > math.sqrt(((centerx1 - centerx2)**2) + (centery1 - centery2)**2):

But is it possible to do the same between 2 ellipses? Help will be appreciated. Thanks.

0 Answers
Related