cocos2d make object follow the touch/finger
问题 I make my first app with cocos2d, so I am very new here my first problem: I wont to make the object (boat) to follow my finger. -(void) ccTouchMoved:(UITouch *)touch withEvent:(UIEvent *)event { CGPoint location = [self convertTouchToNodeSpace: touch]; NSLog(@"location X: %f", location.x); NSLog(@"location Y: %f", location.y); if(startGameButtonIsPressed == YES) { [boat runAction: [CCMoveTo actionWithDuration:1 position:location]]; } } It do follow but it is not fluid. If I move my finger