I am working on a game in Android and I currently have pixel perfect collision detection working. It first checks bounding boxes and if that returns true then checks the overlap of pixels. All works great except when I rotate my image. The collision detection is still using the old un-rotated 2d pixel array. So my question is how I should go about rotating the indexes of the pixels to match that of the current rotation of the image?
Thanks in advance, I find this subject very interesting to work on!