Search Unity

Steam VR Unity assign ControllerManager Objects at runtime

Discussion in 'AR/VR (XR) Discussion' started by mitchellson97, May 24, 2018.

  1. mitchellson97

    mitchellson97

    Joined:
    Jan 12, 2016
    Posts:
    9
    Good Morning,

    Sorry, this is a very specific and potentially long and confusing question but I'm hoping someone can help me.

    I am using 2 VIVE Trackers to create a 3D Audio AR networked VOIP application (basically have 1 tracker in the physical space as a networked player and the other tracker on the users head as I don't want to use the HMD) inside unity using UNET and the Steam VR plugin.

    So when I create the server and connect clients I am instantiating a Prefab object with a Tracked object script and all the 3D audio elements attached. My question is how do I now go about assigning these Tracked Objects to the Objects array inside the SteamVR_ControllerManager script upon instantiation?

    Thank you in advance for any help or advice given and sorry if this is a strange or confusing request.