-1

have you met this problem?I want to get the X,Y,Z values from htc vive HMD in real-time,but i don't know how to do it.I guess whether the htc vive SDK has the special interface for developer?Could you please give me some help?thank you!

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
YangFuxing
  • 19
  • 1

2 Answers2

0

This suggestion is only valid if Unity is being used. Not sure about getting the coordinates from the HMD, but you can attach a script that detects the position of the GameObject.

this.transform.localPosition.x
this.transform.localPosition.y
this.transform.localPosition.z

These are read only values.

Hope this helps.

Tishbyte
  • 40
  • 8
0

The SteamVR SDK doesn't seem to expose the raw values of the IMU (inertial measurement unit) to developers. Possible workarounds: