Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7698903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:21:10+00:00 2026-05-31T22:21:10+00:00

I am having trouble converting the device motion data into world coordinates. I have

  • 0

I am having trouble converting the device motion data into world coordinates.

I have been looking into rotation/projection matrixes and quaternion but CMAttitude (roll, pitch, yaw) is where is have had most success using gravity.y & gravity.z to find the device orientation around the same axis as pitch.

The end result i am looking for is a augmented/virtual reality feel as the user looks for 2D game objects around a center point.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:21:11+00:00Added an answer on May 31, 2026 at 10:21 pm

    I wouldn’t use Euler angles (roll, pitch, yaw). It pretty much screws up the stability of your app, see here why: Strange behavior with android orientation sensor.

    I would use rotation matrices. These tell you how to go from device coordinates to world coordinates and the other way around. You might find these useful:

    • Theoretical intro
    • Developer guide, see rotationMatrix
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble converting a string into a double. My string has been declared
I've been having trouble converting the following fairly straight forward c# code into vb.net
I'm having trouble converting an array into correctly nested HTML. Assuming I have an
I'm having trouble converting objects into JSONObject (org.json.JSONObject) in java. I have an object
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am having trouble converting some code from VB6 to VB.NET (I don't have
I am having trouble converting an image into bytes and saving it in database.
I am having trouble converting this code into extension method syntax: var query =
I am having trouble converting a CFDataRef into NSData whilst using ARC . I
I am having trouble converting my int values to doubles. I know I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.