I tried looking around for this quite a bit but i don't really know how to word it. Right now I have my code to detect wether two UIimages intersect but it checks if the square around the image intersects. The image is a triangle shape so that doesn't work well. Where should I look to have it only detect that the images have intersected if the actual images intersect and not the transparency in the square around each image. Thank you!
Asked
Active
Viewed 109 times
0
-
Are you making a game?? – johnMa Dec 21 '13 at 01:52
-
yes i am making a game – tomanc Dec 21 '13 at 01:57
-
I think may want try [this answer](http://stackoverflow.com/questions/13291919/detect-touches-only-on-non-transparent-pixels-of-uiimageview-efficiently?answertab=votes#tab-top) – johnMa Dec 21 '13 at 05:09