Skip to main content

Use with Other Tracking Devices

All Dollars products can be used with other tracking devices and the tracking results can be integrated in the game engines and DCC software.

Here we will show you an example of using Dollars VIVA and Rokoko Smartgloves together and integrating them in Unity, other gloves such as the Noiton Hi5 can also be used with Dollars in the same way.

This article assumes that you have successfully connected Smartgloves in Rokoko Studio and activated Unity synchronization, the Rokoko Unity plugin can be downloaded here.

https://assetstore.unity.com/packages/tools/animation/rokoko-live-98045

We will use the following project as an example,

https://github.com/unity3d-jp/UnityChanKAGURA

Open the project and run it, you can see the latest version of UnityChan rendered using URP.

Preparation

Let's deactivate the UI, the objects under Timeline, and the VCAM objects.

Set the Animator Controller of UnityChanKAGURA to empty.

Adjust the position of the Main Camera, run the project and it will look like this.

That's pretty much it for preparation, let's move on to adding motion capture to UnityChan.

Add Motion Capture

Import the DollarsMoCap Unity plugin into the project and add the DollarsMoCap prefab into the scene.

Then add the MoCapSrc component to UnityChanKAGURA, setting the DollarsMoCap prefab you just added to the src variable.

The motion capture is now complete.

Import the Rokoko plugin

Import the downloaded Rokoko plugin. After importing, you may encounter shader errors��these can be ignored.

In the Rokoko/Scenes directory, select RokokoPluginExampleScene_CustomActors, right-click on it, and select Open Scene Additive.

The scene will be overlaid with an existing scene.

Select the Rokoko and StudioManager objects in Rokoko's scene and drag them into your scene.

After that, right click on RokokoPluginExampleScene_CustomActors and select Remove Scene. Don't save the changes.

Deactivate the Environment object under the Rokoko object, as well as the Canvas component in Rokoko/CommandAPI/Canvas and Rokoko/Hierarchy_UI.

The scene is now back to normal.

Add Smartgloves

Add Rokoko's Actor and HumanBoneMapping components to UnityChanKAGURA.

In the Actor component, fill in the Profile Name with the corresponding name from Rokoko Studio.

In the HumanBoneMapping component, click Copy from Animator. This will automatically recognize the bones from UnityChanKAGURA and fill in the corresponding fields.

Remove the fields besides those of the fingers, so that Rokoko only controls the fingers. The final setup should look like this,

In the editor, adjust UnityChan's finger joints to be as flat as possible to achieve better capture results.

Before adjustment,

After adjustment,

Once everything is set up, start Dollars VIVA and Rokoko Studio separately. You should see that UnityChan's body is controlled by Dollars VIVA, while her hands are controlled by Rokoko.

Final result,