Hi there I’m currently developing an AR app which uses a phone that looks straight down (assuming perfectly orthogonal top-down view) at a hologram on a table. I’m hoping to display different information depending on the current rotation of the phone. So basically every 15 degrees of yaw rotation does something unique.
What’s the best way to determine the phone’s current rotation relative to the hologram (from 0-360 degrees)? I’m using the AR Foundation (ARKit as I’m developing on iOS) and am wondering if there are any libraries that would be helpful for this purpose? One final note is I’m planning to use the AR Placement Interactable component to place the hologram initially. Thanks!