Hi! i've found this post (http://www.cocos2d-iphone.org/forum/topic/16450) to use gestures in my 3DView, but i'm having some trouble with touch events and all that stuff in my app; even if this post helps me a lot, i still need some help: What i want it's to have in my view, a little square that when i make 2 taps in it (with finger) then it activates the segue and changes the viewcontroller.
I know that to control where i want to tap i can use the – locationOfTouch:inView: method (but i don't know very well where to implement exactly this), and i know how to add the UITapGestureRecognizer to my 3DViewController (but should i attach it to a Layer instead of being attached to the viewcontroller?? I'm building a MultiView aplication with the Storyboard).
But I've some trouble with the selector (the parameter that selects the action that it's realizated when i use that gesture. That parameter it's in the -initWithTarget:Action: method from UITapGestureRecognizer), should i create a method in my 3DControllerView to create a segue(to change the View from my 3DViewController to the one i want)? or, can i just use the -performSegueWithIdentifier:sender: method? and how i use this last one?
Thanks, Miguel