Skip to main content
New Participant
March 8, 2017

Reporting hand position in the real world

I want to measure the real length of the player's hands, in the real world. Any ideas how to implement it using the Oculus Rift and Touch sensors? I am trying to use VR only, without data input (input a distance, mark a reference stick etc.)

Thanks for useful ideas. 

3 replies

Inspiring
March 8, 2017
Moving to developers section.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
Inspiring
March 15, 2017
If the question is how to get the real world position of the hand,
personally i use something a bit barbaric like :

Player.transform.FindChild("TrackingSpace").transform.TransformPoint(OVRInput.GetLocalControllerPosition(OVRInput.Controller.RTouch));

not sure if it's the way to go but it's working fine so far

Yoirgl.
http://unwise.software/
Inspiring
March 15, 2017

Yoirgl said:

If the question is how to get the real world position of the hand,
personally i use something a bit barbaric like :

Player.transform.FindChild("TrackingSpace").transform.TransformPoint(OVRInput.GetLocalControllerPosition(OVRInput.Controller.RTouch));

not sure if it's the way to go but it's working fine so far

Yoirgl.


That gives you the position in game world space, not real world space.

OP, if you ask the player to put their arms straight out in front of them and then you look at the local position of the hands using, for example "OVRInput.GetLocalControllerPosition(OVRInput.Controller.RTouch)" then you can get something close to the length of the arms.  You just have to cancel out the neck-to-shoulder distance.

If it really is the length of the hands that you want, not the arms, I don't have any suggestions for that.