<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Topic: How to detect collision of two sprite object ?</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/414</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Thu, 11 Mar 2010 10:52:42 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/topic/414" rel="self" type="application/rss+xml" />

		<item>
			<title>artakus on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-6622</link>
			<pubDate>Tue, 04 Aug 2009 08:54:25 +0000</pubDate>
			<dc:creator>artakus</dc:creator>
			<guid isPermaLink="false">6622@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;where did the SpriteUtilities came from ? Where to declare it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-3333</link>
			<pubDate>Thu, 09 Jul 2009 13:49:14 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">3333@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Or use chipmunk, as per my post in this thread - &#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/364&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/364&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-3332</link>
			<pubDate>Thu, 09 Jul 2009 13:48:02 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">3332@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@pravin - if you are using an array of sprites it doesn't matter what layer they are on.&#60;br /&#62;
Look at my post about 10 up and then Cloudmike's post 4 up. That should do what you want.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pravin on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-3018</link>
			<pubDate>Tue, 07 Jul 2009 06:05:26 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">3018@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Thanks for fallow up.&#60;/p&#62;
&#60;p&#62;How to find collision of two sprite objects added on two different layer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>allenfjordan on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2822</link>
			<pubDate>Sun, 05 Jul 2009 18:20:35 +0000</pubDate>
			<dc:creator>allenfjordan</dc:creator>
			<guid isPermaLink="false">2822@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;I made a special method for determining (atlas) sprite bounding rectangles (wrapped into a &#34;SpriteUtilities&#34; class):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;+(CGRect) positionRect: (AtlasSprite*)sprite {
	CGSize contentSize = [sprite contentSize];
	CGPoint contentPosition = [sprite position];
	CGRect result = CGRectOffset(CGRectMake(0, 0, contentSize.width, contentSize.height), contentPosition.x-contentSize.width/2, contentPosition.y-contentSize.height/2);
	return result;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then to check for collision of two atlas sprites:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;CGRect rect1 = [SpriteUtilities positionRect:atlasSprite1];
CGRect rect2 = [SpriteUtilities positionRect:atlasSprite2];
if (!CGRectIsNull(CGRectIntersection(rect1, rect2))) {
    //handle collision
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2799</link>
			<pubDate>Sun, 05 Jul 2009 11:46:43 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">2799@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;That is a great point - should have picked that up.&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cloudmike on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2730</link>
			<pubDate>Sat, 04 Jul 2009 14:53:18 +0000</pubDate>
			<dc:creator>cloudmike</dc:creator>
			<guid isPermaLink="false">2730@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Here's a little trick to improve the performance of the simple collision detection posted above:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
int count = [allMySprites count];&#60;br /&#62;
 for (i = 0; i &#38;lt; count; i++) {&#60;br /&#62;
      currentAnimal = [allMySprites objectAtIndex:i];&#60;br /&#62;
      CGRect currentRect = [currentAnimal rect];&#60;br /&#62;
      for (j = i+1; j &#38;lt; count; j++) {&#60;br /&#62;
              if (CGRectContainsRect(currentRect, [[allMySprites objectAtIndex:j] rect]))&#60;br /&#62;
              {&#60;br /&#62;
                    NSLog(@&#34;We have a hit between %i and %i&#34;, i, j);&#60;br /&#62;
              }&#60;br /&#62;
      }&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The change is setting j = i + 1.  The logic is that once you compare the sprite at index i with all the other sprites, you don't need to compare that sprite again.  It has already been fully checked for all possible collisions.  So set j = i + 1 in the inner loop to make it skip sprites that have already been fully checked.&#60;/p&#62;
&#60;p&#62;For example, if you have 10 sprites indexed 0..9, then in the first iteration sprite 0 will get compared to sprites 1..9.  In the second iteration, sprite 1 will get compared to sprites 2..9.  There's no need to compare sprite 1 to sprite 0 again in the second iteration since you already did that in the first iteration.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pabloruiz55 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2498</link>
			<pubDate>Thu, 02 Jul 2009 11:55:36 +0000</pubDate>
			<dc:creator>pabloruiz55</dc:creator>
			<guid isPermaLink="false">2498@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Well then you could have a flag in your game like objectsColliding = NO;&#60;/p&#62;
&#60;p&#62;On every update check if they are colliding with the function you have, and if they are, set objectsColliding = YES.&#60;/p&#62;
&#60;p&#62;Then also in the update function:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(objectsColliding)
{
   /*Code for changing scene, which i don&#38;#39;t have at hand. Check the sceneTests, it is just 2 lines, first instantiate an scene object and then call a replaceScene*/

objectsColliding = NO
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2497</link>
			<pubDate>Thu, 02 Jul 2009 11:45:24 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">2497@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Yeah, i'm using the rectangle to rectangle collision thing, but after they collide I want it to redirect to another scene, for example.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pabloruiz55 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2491</link>
			<pubDate>Thu, 02 Jul 2009 11:10:33 +0000</pubDate>
			<dc:creator>pabloruiz55</dc:creator>
			<guid isPermaLink="false">2491@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Hi!&#60;br /&#62;
Check this link&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://kwigbo.com/wp/?s=collision&#34;&#62;http://kwigbo.com/wp/?s=collision&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The rectangles you would use in that function are the ones returned by your objects.&#60;br /&#62;
using for example their sprite's position and sizes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>unigee on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2482</link>
			<pubDate>Thu, 02 Jul 2009 10:00:39 +0000</pubDate>
			<dc:creator>unigee</dc:creator>
			<guid isPermaLink="false">2482@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;If it's a simple rect intersection check. You can use CGRectIntersection which will return the intersection region of two overlaping rectangles. &#60;/p&#62;
&#60;p&#62;Look into the api documentation for a better description
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2458</link>
			<pubDate>Thu, 02 Jul 2009 06:17:21 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">2458@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;PS, the Rect function on that blog does not take into account any rotation on the object - which in the case of touch detection is not a big issue, but if you are using it for collision detection, then you might want to do some maths (or math if you like) and change the rect for each object taking into account the current rotation. If you only need a slightly better version then something along the lines of:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;- (CGRect) rect {
 float x = [self absolutePosition].x - [self contentSize].width/2;
 float y = [self absolutePosition].y - [self contentSize].height/2;
 float h = [self contentSize].height;
 float w = [self contentSize].width;
 if (self.rotation = 90 or self.rotation = 180)
 {
     // Rotation is 90 or 180 degrees - so reverse h and w
     return CGRectMake(x,y,h,w);
 }
 else
     return CGRectMake(x,y,w,h);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Obviously that is only correct if the object is fully rotated at 90 or 180 - so maybe you could give it a range. Or if you want to get fancy, you could constantly adjust the rect depending on rotation - or maybe have multiple rects per object.&#60;/p&#62;
&#60;p&#62;So depending on the accuracy that you want - maybe you too should look at chipmunk or box2d for your collision detection! Or maybe don't compare rects at all - instead compare locations - if the difference between positions is less than a &#34;threshold&#34; then you have a hit.&#60;/p&#62;
&#60;p&#62;Just thinking aloud.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2453</link>
			<pubDate>Thu, 02 Jul 2009 06:06:27 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">2453@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Okay, well the way I see it - you could grab some info from my favourite blog article (the amount of times I post it, it must be my favourite!) - &#60;a href=&#34;http://juanmunozar.blogspot.com/2009/02/cocos2d-iphone-dynamically-touch.html&#34; rel=&#34;nofollow&#34;&#62;http://juanmunozar.blogspot.com/2009/02/cocos2d-iphone-dynamically-touch.html&#60;/a&#62; and create an array of the sprites that you want to detect collisions for. Then do as jp16 says above - and itinerate through it.&#60;br /&#62;
Steps to take:&#60;/p&#62;
&#60;p&#62;in your game layer - add the following to the .h file:&#60;br /&#62;
&#60;code&#62;+(NSMutableArray *)allMySprites;&#60;/code&#62;&#60;br /&#62;
add the following to he .m file after implementation:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;static NSMutableArray * allMySprites = nil;

+(NSMutableArray *)allMySprites {
    @synchronized(allMySprites) {
        if (allMySprites == nil)
            allMySprites = [[NSMutableArray alloc] init];
        return allMySprites;
    }
 return nil;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then when you create your sprites in your layers and add them - add them to the array also. Something like this might work (not testing any of this at the moment):&#60;br /&#62;
[[gameLayer allMySprites] addObject:aSprite];&#60;/p&#62;
&#60;p&#62;Make sure that your sprites have some sort of rect function - or borrow the code from the rect functions on the above blog.&#60;/p&#62;
&#60;p&#62;Now the modified collision detection code (using the rest of the code that jp16 gave you):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;int count = [allMySprites count];
 for (i = 0; i &#38;lt; count; i++) {
      currentAnimal = [allMySprites objectAtIndex:i];
      CGRect currentRect = [currentAnimal rect];
      for (j = 0; j &#38;lt; count; j++) {
              if (CGRectContainsRect(currentRect, [[allMySprites objectAtIndex:j] rect]) &#38;amp;&#38;amp; j != i)
              {
                    NSLog(@&#38;quot;We have a hit between %i and %i&#38;quot;, i, j);
              }
      }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I think that would do it. Not doing it that way my self, I am using chipmunk - but would be interested to hear if that works well or not.&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2447</link>
			<pubDate>Thu, 02 Jul 2009 05:02:49 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">2447@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Now i'm confused, LOL.&#60;/p&#62;
&#60;p&#62;I am a beginner-ish (amatuer) and I suck at coding, and I just need to do collision.&#60;br /&#62;
It would help if you could tell me how to do this in a beginner-ish way :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jp16 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2445</link>
			<pubDate>Thu, 02 Jul 2009 04:56:00 +0000</pubDate>
			<dc:creator>jp16</dc:creator>
			<guid isPermaLink="false">2445@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;If StickFigureLayer and MotionLayer are visible in the GameLayer then you can iterate through the nodes of both layers inside GameLayer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2443</link>
			<pubDate>Thu, 02 Jul 2009 04:52:47 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">2443@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Sweet, but how would I implement this if I have two layers etc&#60;br /&#62;
I have MotionLayer (implements something falling)&#60;br /&#62;
and StickfigureLayer (stickfigure)&#60;br /&#62;
and I want to implement it into GameLayer&#60;/p&#62;
&#60;p&#62;help would be much, much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jp16 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2442</link>
			<pubDate>Thu, 02 Jul 2009 04:42:11 +0000</pubDate>
			<dc:creator>jp16</dc:creator>
			<guid isPermaLink="false">2442@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;You could try something like this&#60;/p&#62;
&#60;p&#62;Sprite *dog = [Sprite spriteWithFile:@&#34;dog.png&#34;];&#60;br /&#62;
Sprite *cat = [Sprite spriteWithFile:@&#34;cat.png&#34;];&#60;/p&#62;
&#60;p&#62;Layer *animalLayer = [Layer node];&#60;br /&#62;
[animalLayer addChild:dog];&#60;br /&#62;
[animalLayer addChild:cat];&#60;/p&#62;
&#60;p&#62;Then inside your game tick or loop&#60;/p&#62;
&#60;p&#62;NSArray *animals = nil;&#60;br /&#62;
animals = [self.animalLayer children];&#60;br /&#62;
int numAnimals = [animals count];&#60;/p&#62;
&#60;p&#62;Sprite *currentAnimal = nil;&#60;/p&#62;
&#60;p&#62;for (int i = 0; i &#38;lt; numAnimals; i++) {&#60;br /&#62;
  currentAnimal = [animals objectAtIndex:i];&#60;br /&#62;
  float positionX = currentAnimal.position.x;&#60;br /&#62;
  // do something with positionX, you can use your CGRects here&#60;br /&#62;
}
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2440</link>
			<pubDate>Thu, 02 Jul 2009 04:15:31 +0000</pubDate>
			<dc:creator>David</dc:creator>
			<guid isPermaLink="false">2440@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;jp could you please post the code?&#60;br /&#62;
I am in need of this aswell.&#60;br /&#62;
I used this code&#60;br /&#62;
[code]- (BOOL) rect:(CGRect) rect collisionWithRect:(CGRect) rectTwo&#60;br /&#62;
{&#60;br /&#62;
	float rect_x1 = rect.origin.x;&#60;br /&#62;
	float rect_x2 = rect_x1+rect.size.width;&#60;/p&#62;
&#60;p&#62;	float rect_y1 = rect.origin.y;&#60;br /&#62;
	float rect_y2 = rect_y1+rect.size.height;&#60;/p&#62;
&#60;p&#62;	float rect2_x1 = rectTwo.origin.x;&#60;br /&#62;
	float rect2_x2 = rect2_x1+rectTwo.size.width;&#60;/p&#62;
&#60;p&#62;	float rect2_y1 = rectTwo.origin.y;&#60;br /&#62;
	float rect2_y2 = rect2_y1+rectTwo.size.height;&#60;/p&#62;
&#60;p&#62;	if((rect_x2 &#38;gt; rect2_x1 &#38;amp;&#38;amp; rect_x1 &#38;lt; rect2_x2) &#38;amp;&#38;amp;(rect_y2 &#38;gt; rect2_y1 &#38;amp;&#38;amp; rect_y1 &#38;lt; rect2_y2))&#60;br /&#62;
		return YES;&#60;/p&#62;
&#60;p&#62;	return NO;&#60;br /&#62;
}[/code]&#60;br /&#62;
but I cannot get it to detect/go to MainScene after they collide
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jp16 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2429</link>
			<pubDate>Thu, 02 Jul 2009 02:58:58 +0000</pubDate>
			<dc:creator>jp16</dc:creator>
			<guid isPermaLink="false">2429@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Yes, it is possible without Chipmunk. You could try creating a layer and use it to hold the 2 sprite objects. Then inside your game loop or tick, you can iterate through all the nodes in the layer and get their positions to check for collision.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2381</link>
			<pubDate>Wed, 01 Jul 2009 14:09:10 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">2381@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;There are many ways to detect collisions. If you don't want to use chipmunk or box2d - then you can just do a CGRectContainsRect on the Rects of the objects. Check out&#60;br /&#62;
&#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/161#post-807&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/161#post-807&#60;/a&#62; and &#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/200#post-1038&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/200#post-1038&#60;/a&#62; for some tips.&#60;/p&#62;
&#60;p&#62;Or you could keep a list of the current positions of your sprites - and do a comparison of them every tick. Some sort of sorted array could do it.&#60;/p&#62;
&#60;p&#62;But, if you want chipmunk to do all the work for you - then maybe read this post -&#60;br /&#62;
&#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/364&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/364&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pravin on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2375</link>
			<pubDate>Wed, 01 Jul 2009 13:39:58 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">2375@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Hey , Thanks for reply.&#60;/p&#62;
&#60;p&#62;I am new to cocos2d framework and I am not implementing chipmunk to sprite object.&#60;br /&#62;
I have question that :&#60;br /&#62;
Is it necessary to use chipmunk to detect collision?&#60;/p&#62;
&#60;p&#62;Is there no way to detect collision between two sprite object without chipmunk?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pabloruiz55 on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2368</link>
			<pubDate>Wed, 01 Jul 2009 13:14:16 +0000</pubDate>
			<dc:creator>pabloruiz55</dc:creator>
			<guid isPermaLink="false">2368@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Are you using chipmunk/box2d?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pravin on "How to detect collision of two sprite object ?"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/414#post-2364</link>
			<pubDate>Wed, 01 Jul 2009 12:59:53 +0000</pubDate>
			<dc:creator>pravin</dc:creator>
			<guid isPermaLink="false">2364@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Could you help me with the following task?&#60;br /&#62;
I have problem with collision detection of two sprite object.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
