- Home /
rotating object with accelerometer without changing its original path
hi,
im trying to make a character to walk through a maze using the accelerometer,
and i wanted the character to rotate according to where the ipad is tilted to.
can any one teach me how to do it?
This board is meant for more specific Q&A-style questions. If you ask something like, "How do I read accelerometer values from a mobile device?", then we can answer "Take a look at the example projects that use the accelerometer located at http://unity3d.com/support/resources/example-projects/iphone-examples.html".
But "Can any one $$anonymous$$ch how to do it?" is not really a question with a straight-forward technical answer. So it cannot be answered properly on this board.
Think about the technical requirements in your project, then come back when you have a more specific question. In the meantime, take a look at the link I included. It will get you started.
Your answer
Follow this Question
Related Questions
Sphere "skids" on turns without rotating 1 Answer
How to rotate an object using accelerometer under a limitation of the angle ? 0 Answers
Adding animation clip stopped my gameobject from rotating. 1 Answer
Manipulate an objects rotation 1 Answer
Code for rotating in direction of motion with the mouse not working when switched to accelerometer. 1 Answer