Search Unity

AR Foundation - Direction of Gravity

Discussion in 'AR' started by Antistone, Jun 9, 2020.

  1. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,836
    When using AR Foundation, is it safe to assume that "down" is in the negative Y direction of the AR coordinate space?

    Or, to rephrase,
    • Does AR Foundation make an attempt to align its coordinate system with local real-world gravity?
    • If so, how reliably successful is this attempt in plausible real-world usage?
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,142
    I'm pretty sure every AR device has a gyroscope and can tell exactly where the 'down' direction is. You can't do any motion tracking without it. Your question got me interested if AR Foundation works in zero-G :)
     
    Cypher_EA likes this.