- Home /
Locking movement on iOS?
Hello everyone!
i'm developing a showroom and need your help.
is it possible to make the player unable to move at more than 1 axis at a time?
my imagination is :
if(Input.acceleration.x != 0) {
Input.acceleration.y = 0;
}
Comment
On your other question you asked how to move... If you did the GUI system of W A S D, you can make the player move 1 unit per a button click.... And then have rotation move by a finger slide...
Your answer
![](https://koobas.hobune.stream/wayback/20220613115949im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
I want to have FPS iOS tutorials. 0 Answers
First Person Bow 1 Answer
Y Axis fpsshooter fallow 1 Answer
Why target frame rate either 60 or 30, how about 50? 3 Answers
How to sprint and have a stamina bar? 0 Answers