Humanoid Control for Unity v4
Loading...
Searching...
No Matches
HTC Vive Tracker

Vive Trackers are an extension for the OpenXR support which makes it possible to track body parts like head, arms, hips and feet by attaching them to the various body parts.

Prerequisites

Vive Trackers are supported in the Humanoid Control Pro edition.

Hardware

Vive Tracker v1.0 - v3.0 are supported

Operating system

Vive Trackers are supported on the Microsoft Windows platform.

Setup

SteamVR

In Humanoid Control 4, 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 Controllers section, click on the Manage Trackers button:

The following Roles are assigned by default:

Unity

For the Vive trackers to work, you will need to add the HTC Vive Tracker to the Unity OpenXR interaction profiles. Go to Edit Menu -> Project Settings -> XR Plugin Management -> OpenXR. Then on the Windows, Mac, Linux Settings tab, you need to add HTC Vive Tracker Profile to the list of Interaction Profiles:

Inspector

For each body part you will have the following parameter:

  • Sensor: a reference the the object representing the real world Vive tracker. When the sensor is not shown in the scene, you will see a Show button here which will create the tracker when pressed.

HeadTarget

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.

HandTarget

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.

HipsTarget

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).

FootTarget

Vive Trackers can be placed on the feet.

Vive Tracker Component

This component is attached to the object representing the tracker int he real world.

The status shows the current tracking status. The position and rotation confidence show the current confidence level of the tracker's position and rotation. The tracker role corresponds with the Tracker role in the SteamVR settings as described at the top of this page. You can change this to use a different role than the default tracker role.

See also