Unity
How to send streaming data to Unity.
Last updated
How to send streaming data to Unity.
Last updated
Prepare the Unity project to be used.
Download the Unity Plugin from .
Right-click on Assets in the Project window and select Custom Package.
Select the downloaded packages and click Open.
In the Import Unity Package window, click Import.
Prepare a model with a Humanoid Avatar applied. e.g., Mixamo ()
Place Moa Stream Client and Moa Avatar Stream from the MoA/Prefabs folder into the scene.
Set the server's port to be the same as the port configured in MoA Streaming (default port: 3333).
In MoA Avatar Stream, assign Moa Stream Client to the Moa Stream Client field, and assign the Humanoid character to the Target Animator field.
If the data streaming from MoA is live data, set it to Live; if playing back recorded animation, switch it to Animation.
Enter the Actor Name set in MoA.
You can check the character's joints through Visualization. (This feature is Editor-only.)
Bone Visualization is visible only in the Scene view and can be seen only when Gizmos are enabled.
Press the Play button.
Check if the desired data is coming through.
To check the created example, open the scene in the MoA/Sample folder.
If the data is not reflected correctly, check the bone structure or the avatar setup of the Avatar. (Example of a proper avatar: Mixamo)
The position of the Hips assigned to the Avatar should not be the same as the root.