Unity Package Types
Custom Avatar Animations
Avatar Animationpackage type, which you can reference in the package configuration.
How To Use
- Import a rigged, humanoid 3D model (preferably
.fbxformat) with animation data into Unity. Ensure that the
Animation Typeunder the
Rigtab is set to
- Double check that you have set it up correctly by expanding the 3D model and previewing the desired animation.
- Create an empty prefab and add the
Spatial Avatar Animationcomponent. Drag the animation clip (
standing_arguingunder the 3D model in the screenshot below) into the
Target Clipfield inside the prefab.
- Create a new
Avatar Animationpackage under
Project Configurationand drag the empty prefab into the
Prefabfield. You will also need to supply a thumbnail of size
512x512in an uncompressed format, as seen in the second screenshot.
- To test this package, make sure it is the “active package” inside the project configuration panel and then press the
Test Active Packagebutton inside the main toolbar.
Only Humanoid rigs are supported. This is so that the animations can be compatible with any other custom avatars and Spatial’s built-in avatars.