I am sorry if this is a simple question but I cannot figuer it out.
I am using the Leap Motion Interaction Engine (1.1.1) and I cannot figuer out how to get the correct "depth" position of the hand.
The code I use to get the hand position:
Vector3 translatedVector = hand.Basis.translation.ToVector3();
I keep the hand at the same distance from my face and I move it up and down. I would assume that at least one value stays the same as I am not stretching my hand out or pullling it towards my face, yet both the y and z values of the hand vary wildly as I move it up and down. How can I correctly get the distance of my hand from my face?