Set up an Actor
Important
Support for the Unity Live Capture package is scheduled to end as of Unity 6.1.
Set up a GameObject of the Scene as an Actor to be able to drive it from a connected Client Device through a Capture Device.
Each Actor is different
The way to set up an Actor highly depends on the Client Device and the type of data you're using to drive it. For this reason, there is no common setup procedure.
To ease your Actor setup process, the Live Capture package provides:
- A GameObject menu item that automatically creates a functional Virtual Camera Actor for the Virtual Camera app.
- A sample character head already rigged and set up as a functional Actor for the Face Capture app.
To get instructions about how to use them, follow the additional reference links.
Actor setup general guidelines
By principle, to set up a Live Capture Actor:
In the Hierarchy, select or create a GameObject that conceptually and technically corresponds to the Client Device.
For example:
- If the Client Device outputs camera data, the GameObject must at least include a component that makes it a Camera.
- If the Client Device outputs face or body animation data, the GameObject hierarchy must at least include a rigged character model.
Add the proper Live Capture components to the GameObject to make it an Actor compatible with the Client Device.
For example:
- If you're using the Virtual Camera app, you have at least to add a Virtual Camera Actor component to the GameObject, along with other components: Physical Camera Driver and Frame Lines.
- If you're using the Face Capture app, you have at least to add an ARKit Face Actor component to the GameObject and link this component to a Face Mapper asset.