Hi
Thanks for that
for (int i = 0; i< [objectsArray1 count]; i++){
UIView* currentBomb = (UIView*)[objectsArray1 objectAtIndex:i];
if(CGRectIntersectsRect(currentBomb.frame, fireBall1.frame)){
NSLog(@"Collision ");
}
}
now my collision is working but its not when they are falling
collision is occurring at bottom (when falling image sits at bottom)
|