The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Left/Right hand tracking
I am trying to detect when the left or right hand is in the FOV. I couldn't find any variable that does this, so I am trying to manually doing it by checking the state.source.id from the HandInput script. Seems the id is randomized for each hand, being 0 or 1 either left or right.
When both hands are in the FOV then one is 0 and the other one is 1. I've noticed that's similar to what the Leap Motion SDK does.
Seems a unique ID is assigned to the hand, whose value remains the same across consecutive frames while the tracked hand remains visible. If the tracking is lost (for example, when a hand is occluded by another hand or when it is withdrawn from or reaches the edge of the Hololens field of view), it seems to assign a new ID when it detects the hand in a future frame.
I was planning to identify which hand is farthest to the left or right, but I am curious if there already a variable that tells you if it's the left or right hand?