Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading out device information #1116

Open
HuygelierH opened this issue Sep 12, 2024 · 0 comments
Open

Reading out device information #1116

HuygelierH opened this issue Sep 12, 2024 · 0 comments

Comments

@HuygelierH
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant