Hi, I'm trying to create an interaction where an action would be executed when the phone is on top/under another phone horizontally (±35° on all axes), similarly to the two circles which superpose each other when the phone is level in the Measure app. However, from what I've seen, there are many different ways of doing this (especially in relation to reference frames) all with their pros and cons. I was wondering how you would accomplish this efficiently, preferably without the user having to calibrate the phone.
I'm already using the proximity sensor, I just want to make sure the phones are vaguely horizontal so the users don't just "high five" each other with their phones, and instead make them put one phone on top of the other face-to-face.
Thanks in advance!
I'm already using the proximity sensor, I just want to make sure the phones are vaguely horizontal so the users don't just "high five" each other with their phones, and instead make them put one phone on top of the other face-to-face.
Thanks in advance!