Quantcast
Channel: Questions in topic: "unity 5"
Viewing all articles
Browse latest Browse all 13311

My character doesn't move forward when mobile is in vertical position, only in horizontal.

$
0
0
Hello, I am making my first game in unity, it's a 3D game. I have this problem, I didn't have in the beginning: when my mobile (s3, android) is in horizontal position, my character moves fine, but when my mobile is in vertical position, my character doesn't move forward at all, the animation just plays in place. I tried to use once gyroscope to move the character but I couldn't make it work, it was messing up, so now I am just moving her with touch and rotating with Input.GetAxis("Mouse X"). My game orientation is landscape. So, I hope I was clear with horizontal and vertical explanation... What can be the cause of this problem? Thank you in advance.

Viewing all articles
Browse latest Browse all 13311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>