How to detect if an ellipse intersects(collides with) a circle

Posted by php html on Stack Overflow See other posts from Stack Overflow or by php html
Published on 2010-05-31T18:32:26Z Indexed on 2010/05/31 19:03 UTC
Read the original article Hit count: 435

Filed under:
|
|
|
|

I want to improve a collision system.

Right now I detect if 2 irregular objects collide if their bounding rectangles collide.

I want to obtain the for rectangle the corresponding ellipse while for the other one to use a circle. I found a method to obtain the ellipse coordinates but I have a problem when I try to detect if it intersects the circle.

Do you know a algorithm to test if a circle intersects an ellipse?

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about math