[SOLVED] Rotating game Character with Accelerometer

I am trying to rotate my game character with tilt. But can’t do it smoothly. Please help me anybody. Here is the code I have written.

https://docs.google.com/open?id=0B00ENcwlRMozRGZiMmZKelV4VWs

I have tried with xGravity, yGravity and also with xInstant, yInstant. Nothing works properly.
[import]uid: 104777 topic_id: 31069 reply_id: 331069[/import]

I solved It. :slight_smile: [import]uid: 104777 topic_id: 31069 reply_id: 124242[/import]

Next time post the code with lua tags in the forum, or use gist or other web for posting code.

How did you solve it? [import]uid: 116842 topic_id: 31069 reply_id: 124342[/import]

Here you will find it. I have uploaded the project :slight_smile: [import]uid: 104777 topic_id: 31069 reply_id: 124344[/import]

I solved It. :slight_smile: [import]uid: 104777 topic_id: 31069 reply_id: 124242[/import]

Next time post the code with lua tags in the forum, or use gist or other web for posting code.

How did you solve it? [import]uid: 116842 topic_id: 31069 reply_id: 124342[/import]

Here you will find it. I have uploaded the project :slight_smile: [import]uid: 104777 topic_id: 31069 reply_id: 124344[/import]

Here you will find it. I have uploaded the project :slight_smile:

http://sudiptakar.info/corona-sdk-rotating-controlling-game-object-character-with-accelerometer-tilt/ [import]uid: 104777 topic_id: 31069 reply_id: 124345[/import]

Here you will find it. I have uploaded the project :slight_smile:

http://sudiptakar.info/corona-sdk-rotating-controlling-game-object-character-with-accelerometer-tilt/ [import]uid: 104777 topic_id: 31069 reply_id: 124345[/import]