Detect active glasses?
-
I know I can use Display.GetGlassesAvailability() to detect if glasses are available, can I detect if the user is wearing the glasses and looking at the game board?
-
@Jens-Restemeier Oh! Yeah similar issues, I hope this helped on your side

-
I found I can use https://forums.tiltfive.com/topic/41/tracking-loss-events/2
-
Do you know when this function will be available? It seems to return constant false in 15.1
-
I just had a look, I can get the world space position/rotation, the rest is hidden in private fields... I'll see what I can do.
Our game board scrolls across the level, so the world space is different if the game board has moved. Maybe it is enough to project the glasses back into game board space.
-
Hey Jens!
It isn't fully implemented yet, but TiltFive.Glasses.updated is intended to indicate whether the head tracking returned a new pose for the current frame, which can only happen if the glasses can see the board and detect the dot pattern around the edges.
In the meantime, you could probably do something rudimentary like checking if the glasses are in the default pose or not, since it assumes that pose when there's no tracking (not looking at the board)