Hi,
I'm trying to use the VIVE Wrist Tracker to track objects in PC VR (not for hand tracking). But I have trouble to make it work. Is there someone who could help me?
I'm using :
SteamVR 2.1.4
Vive Buisiness Streaming 1.12.8
Unity 2022.3.11
Package :
VIVE OpenXR Plugin 2.0.0
OpenXR Plugin 1.8.2
I date XR Wrist Tracker Profile then I created an Input Action Asset with one map for the left tracker and one for the right tracker. I defined all the actions to retrieve tracker data based on https://developer.vive.com/resources/openxr/unity/tutorials/wrist-tracker/
Then in my scene I add a InputActionManager with my InputActionAsset and I created and add a simple script to move a objet with the position of the tracker :
using UnityEngine.InputSystem;
public class ChangePosition : MonoBehaviour
{
[SerializeField] private InputActionReference RightControllerPosition;
void Update()
{
Vector3 controllerPosition = RightControllerPosition.action.ReadValue<Vector3>();
transform.position = controllerPosition;
}
}
In CBS settings I try both checking/unchecking "Emulate VIVE Wrist Tracker as VIVE Tracker" with no more result even if steamVR show the tracker.
I try to see in the Analysis/Input Debbuger, but the trackers are not visible.
Did I forget something? Is anyone having an idea show to proceed?