Seems everything i find uses CGRect for touch detection. Is there any way to use a non square object (Hexagon, Octogon, Circle) for touch detecting like in the code below?
- (CGRect) rect
{
float x = [self position].x - [self contentSize].width/2;
float y = [self position].y - [self contentSize].height/2;
float h = [self contentSize].height;
float w = [self contentSize].width;
return CGRectMake(x,y,w,h);
}
The problem is if everything is squares on close objects clicks happen on multiple items.
-- Thanks