Before updating to Windows 10 you may need to return your Pro license. More information here

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;


more ▼

asked Mar 31, 2011 at 02:10 PM

avatar image

339 84 65 75

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...

Mar 31, 2011 at 02:53 PM Justin Warner
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Mar 31, 2011 at 02:10 PM

Seen: 1020 times

Last Updated: Mar 31, 2011 at 02:10 PM