c# - WPF, How to detect a collision between two Ellipses? -
i'm trying detect collision between 2 ellipses
public bool checkcollision(ellipse a, ellipse b) { if (a.renderedgeometry.bounds.intersectswith(b.renderedgeometry.bounds) ) return true; return false; }
but doesnt work because true time
Comments
Post a Comment