title: how to detect touch on rotated sprite in cocos2d
body: <p>I have rotated sprite to 90. I checked the touch location of the rotated sprite as follows:</p>
  
  <pre><code>matchsprite.rotation=90;
  
  CGRect r=CGRectMake(matchstick.position.x, matchstick.position.y, matchstick.contentSize.height,matchstick.contentSize.width);
  if(CGRectContainsPoint(r, location))    
      NSLog(@"Hii");
  </code></pre>
  
  <p>What is the error in this code? I didnt get "Hii". How to detect whether we tap that rotated sprite or not?</p>