I am making a game using the accelerometer, basically my character is at the bottom of the screen and he needs to avoid objects falling from the top of the screen. I am using CGRectIntersectsRect
to see if my character sprite has intersects my enemy sprite, but the problem with this is CGRectIntersectsRect
detects the transparent sections of my character sprite.
Is there a way to make it ignore the transparency of the sprite?