Virtual Production get started

Key takeaways
How to use Tracker data in Unity
How to use Tracker data in Unity
How to set up a Virtual Camera in Unreal
How to set up a Virtual Camera in Unreal
How to use Virtual Production Props in Unreal
How to use Virtual Production Props in Unreal
How to use Virtual Production Props in Unity
How to use Virtual Production Props in Unity

How to use Tracker data in Unity

Our Virtual Production allows you to interact with props and virtual cameras within your projects. Follow along as we show you how to export data from a Vive Tracker and use it inside of Unity.

This blog serves as a guide to teach users how to export Vive tracker motion data from Rokoko Studio and use it within Unity. Users will be able to use tracker motion data inside of Unity to create realistic camera movements within their projects. Read on below to learn how easy it is to set up!

Note: Check out our website for more information on our Virtual Production. If you need help setting up the Virtual Production, check out our blog Virtual Production Setup.

Exporting Tracker Motion Data

  • Make sure to make a recording of your trackers motion data before proceeding
  • Once you’ve made a recording, you can export it from Studio. To do this:
  • Click the ‘Export’ button at the bottom right
  • Check the ‘Export VP data’ checkbox
  • Select your file Format
  • Click the ‘Export’ button
  • The motion data file will be exported to the folder listed in the ‘Export path’

Using Tracker Data in Unity

  • Once inside of Unity, import your exported motion data file by:
  • Dragging and dropping it inside of the ‘Assets’ folder
  • Or right-click on the ‘Assets’ folder, click ‘Import New Asset…’
  • Click on the imported FBX and in the inspector:
  • Expand the dropdown ‘Motion’
  • Under ‘Root Motion Node’ dropdown, select the Tracker that was used to record the motion data
  • Click the ‘Apply’ button
  • Click on the game object you wish to attach the tracker data to inside the Hierarchy:
  • In the Inspector, click the ‘Add Component’ button and type “Animator”
  • Within your Project window, click the ‘Create’ button and select ‘Animator Controller’
  • Name it appropriately for your game object
  • Click on the game object you wish to attach the tracker data to inside the Hierarchy:
  • Drag and drop the Animator Controller you just created into the ‘Controller’ box on your game object
  • Drag and drop the ‘Avatar’ from the imported tracker data into the ‘Avatar’ box on your game object
  • To find the Avatar for the imported tracker data, expand the tracker data in the Project window
  • Check the ‘Apply Root Motion’ checkbox within the Inspector of your game object
  • Click ‘Window’ at the top of Unity, hover your cursor over ‘Animation’ and select ‘Animator’
  • Drag and drop the animation clip of your imported motion data inside of the Animator window
  • To find the animation clip for the imported tracker data, expand the tracker data in the Project window
  • Click the Play button to test the animation

We hope this guide has helped you how to export Vive tracker data from Studio and use it within Unity. If you run into any issues, feel free to reach out to our support desk or email support@rokoko.com.

Virtual Production
Unity
Key takeaways
How to use Tracker data in Unity
How to use Tracker data in Unity
How to set up a Virtual Camera in Unreal
How to set up a Virtual Camera in Unreal
How to use Virtual Production Props in Unreal
How to use Virtual Production Props in Unreal
How to use Virtual Production Props in Unity
How to use Virtual Production Props in Unity
More courses