- Home /
Question by
milincjoshi · Sep 15, 2014 at 09:28 AM ·
movementorientation
Move a player with DEVICEORIENTATION.FACEUP
I am new to unity and developing the Roll-a-Ball tutorial provided game. It works fine on Desktop and Mobile Devices , but there's an issue for moving the player regarding the device orientation. The game works fine if the Mobile device is Portrait oriented. But how to move the player accordingly if Mobile devices are oriented with Screen faced up. Also explain what does compensating sensors mean. Would be a great help.
Comment
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Alternative of touchesMoved in Unity3D 0 Answers
Character Rotation 2 Answers
Strange Rigidbody Behavior 0 Answers
Because of default SmoothFollo2D script my ball is not moving smoothly. How to fix that? 4 Answers