Skip to content

Reading out device information #1116

@HuygelierH

Description

@HuygelierH

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions