Question by 
               MuhammadZekab · Jan 13, 2020 at 11:21 AM · 
                rotationplayer movementtouch controls  
              
 
              Restrict second touch
I am rotating my player on touch. But when I touch with the second finger while first one is in moving phase, the player rotation disturbs.
 if (Input.touchCount == 1)
 {
 
       switch (Input.GetTouch(0).phase)
      {
            case TouchPhase.Moved:
                 player.FncRotate();
                 break;
       }
 
 }
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Rotate Player w/Touch Input Controls 0 Answers
Smooth rotation with CrossPlatformInput 0 Answers
how to move by touching a point on mobile device like join clash game 0 Answers
Problem with rotation on a player controller 0 Answers
I use click to move, but don't want my player to rotate... How to fix this rotation? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                