Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Android FPS swipe/drag to look problem!

Discussion in 'Scripting' started by martin999b, Jul 23, 2013.

  1. martin999b

    martin999b

    Joined:
    Jul 14, 2013
    Posts:
    16
    Hello guys,

    I have a problem with my mobile FPS game controller and can't find a solution.

    My controller is similar to the popular FPS game controllers like Dead Trigger, when you drag your finger on the right side of the screen, you can look around. My controller works almost perfectly, I have only one problem with it, when I put my finger on the screen, and start to move, it will only react to my swipe when I moved my finger almost a half centimeter. After this it works fine, even if I just rotate my finger, it detects my finger movement, but at the start, it doesn't.

    I read somewhere it could be because the touch input is not updated every frame, its updated depengin the hardware.

    Could someone help please?


    Thank you,
    Martin
     
  2. martin999b

    martin999b

    Joined:
    Jul 14, 2013
    Posts:
    16
    Anyone?