![]() |
Humanoid Control for Unity v4
|
Vive Trackers are an extension for the OpenVR support which makes it possible to track body parts like head, arms, hips and feet by attaching them to the various body parts.
Vive Trackers are supported in the Humanoid Control Plus and Pro packages.
Vive Tracker v1.0 - v3.0 are supported
Vive Trackers are supported on the Microsoft Windows platform.
In Humanoid Control v4, the Vive Tracker Role can be set to assign a Vive Tracker to a specific body part. This can be set in the SteamVR Settings. In the Controller section, click on the Manage Trackers button:
The following Roles are supported:
It is possible to assign specific trackers to certain body parts maually. To do this you need to know the tracker hardware Id of each tracker. You can find these in the in the SteamVR settings: see Setup above, you can find them in the Manage Trackers section. You can also find these by running the scene. All active trackers should appear in the scene and can be found as active Vive Trackers in the humanoid/Real World/UnityXR object in the hierarchy:
Then you can find the Hardware Id in the Vive Tracker Component of that object.
Now we can assign this tracker to the right part of the body. To do this, the tracker should first be made visible in the Scene by pressing the Show button for the Vive Tracker on the applicable Target:
Double click on the Vive Tracker (Transform) to open the tracker assigned to that target:
On this Vive Tracker Component, you can now fill in the Hardware Id of the Vive Tracker you want to use for this target:
A Vive Tracker can be used on the head instead of an HMD. There is no need to have a UnityXR controller or any camera at all in the scene. It is not possible to have both a Unity XR and Vive Tracker enabled on the head.
Vive Trackers can be placed on different bones on the arm. This makes it possible to combine a SteamVR controller with a Vive Tracker on the arm to improve the Inverse Kinematics solution. The bone on which the tracker in mounted should be set using the Bone parameter. It is not possible to have both a UnityXR controller and a Vive Tracker on the hand.
A Vive Tracker can be placed on the hips. In this position the orientation of the tracker is not used, so it is not important how the tracker is rotated around the Vive logo (forward direction).
Vive Trackers can be placed on the feet.