I'm using TouchCode 9.0. I have a scene with a car and a ring around the car to rotate it.
I'm wondering how to achieve the following:
- Drag the ring to rotate the car.
- Pinch anywhere to scale the car.
- Long tap anywhere EXCEPT the ring around the car to place the car somewhere else.
I got the functionality mostly working, but I can't reconcile my different needs for the fullscreen gestures.
With this hierarchy everything is working, except that long taps are even recognized on the rotation ring:
- FullscreenLayer with LongTapGesture (for teleporting the car) and ScreenTransformGesture (for pinch scaling)
- PinnedTransformGesture (for rotating the car)
With this hierachy everything is working, except that pinching is stopped by the rotation ring around the car:
- FullscreenLayer with LongTapGesture (for teleporting the car) and ScreenTransformGesture (for pinch scaling)
- PinnedTransformGesture (for rotating the car)
Basically, I want some of my fullscreen gestures ignoring colliders and others not. Is there some way to properly make multiple fullscreen layers, one inside the hierarchy and one outside?
Thanks,
Tobias