Timeline for How to detect which edges of a rectange touch when they collide in iOS
Current License: CC BY-SA 2.5
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 18, 2011 at 0:24 | vote | accept | Mike King | ||
Jan 18, 2011 at 0:24 | comment | added | Mike King | After reviewing all of the proposed solutions, I believe that separating axis theorem is the way to go here. Thanks. | |
Jan 12, 2011 at 16:40 | comment | added | user1430 | Errr yup, that's totally correct, I was definitely thinking of squares and not rectangles. >_< | |
Jan 12, 2011 at 9:09 | comment | added | bummzack | Computing the vector will only work if the rectangle has sides of equal length. Otherwise you'll have to factor in the ratio of the rectangle somehow. | |
Jan 12, 2011 at 6:57 | history | answered | user1430 | CC BY-SA 2.5 |