How to flip character using touch controls ?
The problem is that I can flip the character using the left and the right arrow on the keyboard but when I use the touch controls it doesn't flip.I'm new at this so I don't know much about it please help.
void FixedUpdate() { Grounded = Physics2D.OverlapCircle (groundCheck.position, groundCheckRadius, whatIsGround);
movement = Input.GetAxis ("Horizontal");
Hi there, have you assigned the controls to the axis in the project settings?
Yes,the game does everything right including movement,flipping etc when using keyboard but when I use the touch controls which I just put in movement works fine it is just that my character won't flip @$$anonymous$$atthewj866
Please move this answer to the comments and please edit your question to include the snippet so we can see what's responsible for flipping the character.
I fixed it I somehow
its just as you said I forgot to assign the touch controls to the axis Thank you for your help.
Your answer
Follow this Question
Related Questions
Help with drift physics 0 Answers
Rigid body robot animation 0 Answers
How to make a system in unity 0 Answers