ritchielozada / HoloLensHandTracking

Hololens Hand Position Tracking Example
30 stars 20 forks source link

Hand rotation #1

Closed TobiasWa closed 6 years ago

TobiasWa commented 7 years ago

There exists a function which is called "handOrientatation" but I can't access it. Do you think it is possible to also have a rotation of the hand instead of just having the position?

ritchielozada commented 7 years ago

When I wrote this sample a while back, Rotation (Orientation) data is not being returned. I'm working on a new sample on Unity 2017.2 (Beta) that uses the new UnityEngine.XR.WSA.Input namespace that unifies hand and controller tracking in InputManager. The Immersive Headset controllers reports position and rotation. I have not tested hand tracking recently for HoloLens but I think it's still limited to position only. I'm waiting for the Mixed Reality Controllers for the Immersive headsets to be more available to developers so I can validate and release the sample.

ritchielozada commented 6 years ago

I included the TryGetRotation() in the script for the eventual Motion Controller sample which returns rotation tracking. Still not an option for the HoloLens Hand Input as writing.