ValveSoftware/steamvr_unity_plugin

Reading out device information

HuygelierH opened this issue · 0 comments

Dear developers,

I love the SteamVR Unity Plugin! However, I couldn't found documentation on the wiki on how to read out device information.

For the app that I am building we would need to know whether:

  • head-mounted device is mounted on head yes or no?
  • head-mounted device is within the safety zone: yes or no?
  • head-mounted device type (HTC, Oculus Quest, ...)
  • head-mounted device is connected (e.g., detecting signal loss)

I have found how to access the status of the head-mounted device (being idle or interacting) but the status interacting does not switch to idle when I dismount the headset so it doesn't reflect the HMD mount / dismounts.

I have also read that I could check the velocity of the HMD rotations to see the mount/dismount, but again that is not a perfect reflection of the dismount status, because I noticed that once I have put it on and then off again, I can still rotate the HMD and the camera in the scene.

So which properties can I read out from the tracker to get this information?

Kind regards,
Hanne Huygelier