I am animating two images but unable to collide them.
I tried if(CGIntersectsRect([bullet frame],[enemy frame]) { NSLog(@"ïntersect"); }
bullet frame and enemy frames are different,may be bcoz [bullet frame],[enemy frame] is giving their initial position and not their current position.If any one knows the answer plz reply me as soon as possible.
Thanx