You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notice the trackers are detected and tracked in the Game play, but the clicks of the tracker pins are not detected
here is my hierarchy that rely on ViveInputUtility
and the TrackerClickHandler is just a script with functions to log messages
when i used ViveInputUtility simulator the logs are called but using the physical devices does not
i also tried downgrading to an older version of steamVR plugin (dupricated) see this Tutorial and used the following script to get the inputs
using System.Collections;using System.Collections.Generic;using UnityEngine;using Valve.VR;publicclassTracker:MonoBehaviour{SteamVR_TrackedObjecttrackedObject;publicbooltrigger,trackpad,grip,menu;// Start is called before the first frame updatevoidStart(){trackedObject=GetComponent<SteamVR_TrackedObject>();}privatevoidUpdate(){vardevice= SteamVR_Controller.Input((int)trackedObject.index);trigger= device.GetPress(Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger);if(trigger)
Debug.Log("trigger");trackpad= device.GetPress(Valve.VR.EVRButtonId.k_EButton_SteamVR_Touchpad);if(trackpad)
Debug.Log("trackpad");grip= device.GetPress(Valve.VR.EVRButtonId.k_EButton_Grip);if(grip)
Debug.Log("grip");menu= device.GetPress(Valve.VR.EVRButtonId.k_EButton_ApplicationMenu);if(menu)
Debug.Log("menu");}}
and also got the 4 bools always false
Thanks in advance
The text was updated successfully, but these errors were encountered:
is it supported to use the Vive Trackers PoGo pins ? and if so how to get the PoGo pins clicks ?
the developers guide for the trackers link
i tried a new project in unity 2018.3.8f1 and got imported the SteamVR Plugin and ViveInputUtility
notice the trackers are detected and tracked in the Game play, but the clicks of the tracker pins are not detected
here is my hierarchy that rely on ViveInputUtility
and the
TrackerClickHandler
is just a script with functions to log messageswhen i used ViveInputUtility simulator the logs are called but using the physical devices does not
i also tried downgrading to an older version of steamVR plugin (dupricated) see this Tutorial and used the following script to get the inputs
and also got the 4 bools always false
Thanks in advance
The text was updated successfully, but these errors were encountered: