Android Utilizing the phone's Yaw (Y rotation)

Discussion in 'Programming' started by Hayoon Jang, Oct 26, 2016.

Tags:
  1. Hayoon Jang

    Hayoon Jang Member

    Joined:
    Oct 19, 2016
    Posts:
    1
    Hello, I'm doing a small demo regarding AR/VR, And I used the device_get_tilt_x/y/z() functions to get the phone's orientation. But turns out it can't be used for Yaw, or the Y rotation you point your phone at because GM:S uses the phone's accelerometer, not the Gyroscope sensor.
    + the tilt shakes a LOT

    I wondered if there was a way to utilize the phone's Gyro sensor?
     

    Attached Files:

    • yaw.gif
      yaw.gif
      File size:
      22.5 KB
      Views:
      5
    Last edited: Oct 26, 2016
  2. Pablo Avila

    Pablo Avila Member

    Joined:
    Mar 21, 2017
    Posts:
    7
    Did you, by any chance, figure it out? I am facing the same problem.
     
  3. andev

    andev Member

    Joined:
    Jul 2, 2017
    Posts:
    444
    If you're sure this is a problem, file a bug report. There's probably not much any of us can help with if the function doesn't work properly
     
  4. jtmx

    jtmx Member

    Joined:
    Oct 1, 2016
    Posts:
    19
    I'm having the same issue, did you manage to find a fix?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice