Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

Hand Position/Tracking in C++

It was my understanding that it is not possible to get the hand positions using the C++ API. I've seen solutions in Unity, but not in C++/UWP.

However, I just read on Microsoft's website that:
"For each hand that HoloLens detects, you can access its position (without orientation) and its pressed state. As the hand nears the edge of the gesture frame, you're also provided with a direction vector, which you can show to the user so they know how to move their hand to get it back where HoloLens can see it."

Has something changed?


  • Hi,

    What sort of 'tracking' are you looking for here? Is it what would be offered by the SpatialInteractionManager API?

    That API allows you to get called back as interaction sources (hands) are detected (finger pointing upwards I think) via the SourceDetected event and then as they move via the SourceUpdated event.

    When you get a SourceUpdated you can use the passed SpatialInteractionSourceEventArgs to dig in and try and get location if that's of interest to your app.

    Is this the type of thing that you had in mind? Those are the underlying UWP APIs so you should be able to use them from C++ nicely, I've just experimented with them from C# and they work for me there and I'd assume (can't be sure) that the Unity functionality you're thinking of would sit on top of these APIs.

    Hope that helps or provides some pointers.

Sign In or Register to comment.