- Home /
Input.GetAxis("Vertical") on touch devices.
Is there a way to get input.getaxis("vertical") and ("horizontal") working on touch devices? I have a car control script with those classes but my target is a touch device.
Any hint on how to get it done? Even some direction, I'll try to code it by myself.
Thank you.
Comment
Answer by TyTiKi · Nov 06, 2012 at 01:32 PM
Of course I am using it as reference. But I am not building a fps game. Instead I have a car that accelerates by detecting input.getaxis and multiplying it by certain values. I also borrowed the joystick.js script from the assets.
Your answer
Follow this Question
Related Questions
Touch Input help.. 1 Answer
fixed the problem 2 Answers
TouchPhase not firing correctly - Android 3 Answers