- Home /
Any 'swipe' navigation scripts? Any tips?
So I dropped in the dual-joystick prefab for my FPS mobile app. When I watch people try to use it, however, they ALL begin swiping to try to look/move. Joysticks are out.
I need a 'swipe navigation' paradigm. Anyone know of any scripts or prefabs or whatever that implements such?
In any case, any tips? Like swipe left/right to turn? to look? to strafe? Swipe up/down to move forward/back or look up/down? Any thoughts on multi-touch for nav?
Thanks
Answer by Faikus · Sep 27, 2011 at 10:59 AM
I have put a simple version of the control mechanism that is similar to the one used in Epic Citadel (tap or joystick to move, drag to look) on the Unify wiki: TapMoveDragLook.cs
For my FPS navigation, 1 finger is like 'mouselook' rotates the camera. 2 fingers pinch to move back, un-pinch to move forward (like a throttle). 3 fingers to strafe left/right.
Your answer
![](https://koobas.hobune.stream/wayback/20220613112436im_/https://answers.unity.com/themes/thub/images/avi.jpg)