Tracking loss events
-
Hello Tilt Five.
I was wondering, is there a way to know when tracking loss occurs either on the board or on the wand?.
What happens is that I have some physics on the wand so you can touch things around, but when tracking loss occurs and then it starts to regain confidence, it goes all over the place and knocks everything out.
So it would be neat to know when this happens so I can disable physics before that happens
-
For the gameboard, developers can use
Gameboard.TryGetGameboardType()to query the type of the current gameboard (such as LE or XE), and if the function returnsfalse(failure to receive a response from the native plugin) or the resulting gameboard type isNone(the glasses can't see the gameboard), it's safe to assume that the glasses aren't tracking.For the wand,
poseValidshould go back tofalseif the camera doesn't see the wand for a little while. It'll go on IMU alone for 200ms in in Rev 15.1.Hope this helps!