Avatar SDK Local Compute Unity plugin
3.1.0
Realistic avatar generation toolset for Unity3D
|
Humanoid animations (like a Mixamo) can be applied to the fullbody avatars.
1. Add FBX with animation into the Unity project.
2. Select this FBX and open Rig tab in the Inspector window.
3. Change Animation Type to Humanoid and press Apply.
4. Press Configure to verify configuration. Make sure that the skeleton is in the T-Pose and all bones are mapped.
5. Open Animation type and set required parameters. For the Mixamo animation we recommend using parameters as on the picture below:
6. Create Animator Controller, add the imported animation into it and enable Foot IK option.
1. Run Fullbody Export Sample and generate an avatar in the FBX format.
2. Import the FBX file and textures into the unity project.
3. Select this FBX and open Rig tab in the Inspector window.
4. Change Animation Type to Humanoid and press Apply.
5. Press Configure to verify configuration. Make sure that the skeleton is in the T-Pose and all bones are mapped.
6. Add the model to the scene and set animator controller.
7. Play the scene, the character should be animated.
We provide an AnimationManager object to animate the runtime generated avatar.
You can create the AnimationManager on the scene and assign the animator controller.
Once the avatar is loaded on the scene you can call AnimationManager.CreateHumanoidAnimator method to create an animator.
The code bellow also creates an animator without using AnimationManager object.