New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

Three touch controllers

edinkyedinky Posts: 14
NerveGear
Hi guys,

Anyone ever got three touch controllers working at the same time in the same scene in Unity?
Tagged:

Comments

  • edinkyedinky Posts: 14
    NerveGear
    Ok I'm looking into the VR Object functionality - it looks like I can get access to it through the Oculus Plugin, and I'm using this code which I found on another thread, but it doesn't seem to work... does anyone know if 3 sensors are required for this?

     OVRPose p = OVRPlugin.GetNodePose(OVRPlugin.Node.DeviceObjectZero, OVRPlugin.Step.Render).ToOVRPose();

    if (OVRPlugin.GetNodePositionTracked(OVRPlugin.Node.DeviceObjectZero))
    {
    this.transform.position = p.position;
    }

    if (OVRPlugin.GetNodeOrientationTracked(OVRPlugin.Node.DeviceObjectZero))
    {
    this.transform.rotation = p.orientation;
    }

  • the_soupdragonthe_soupdragon Posts: 23
    Brain Burst
    Where are you wearing the third one? :# :#
  • edinkyedinky Posts: 14
    NerveGear
    what do u mean? i'm using the third touch controller as a VR object.
  • Digikid1Digikid1 Posts: 1,788 Valuable Player
    Where are you wearing the third one? :# :#
    You......don’t......want......to.......know.

     :o 
Sign In or Register to comment.