Search Unity

Retrieve vive positional data c#

Discussion in 'VR' started by BethSturgeon, Sep 26, 2018.

  1. BethSturgeon

    BethSturgeon

    Joined:
    Sep 26, 2018
    Posts:
    1
    Hi there,

    My programming is amateur at best so sorry if this seems like a stupid question.

    I've got a c# script attached to a Unity project that allows 360 streaming to the vive headset.

    I have a separate python script (using openVr for Python) that takes positional data (a rotation matrix) from the hmd and feeds it to a robot.

    When I run both sets of code together it breaks as theyre both trying to access the headset.

    Any ideas how to get the positional data using c# without using openVr (which doesn't support c#)?

    Many thanks in advance!