Unity Demo
This demo features untweaked FaceFX animations playing inside of the Unity web-player. Note the following:
- Animation playback is force-synchronized to the audio
- Animation data is highly compressed (in this example, animation data was reduced by 90% as compared to default FBX export)
- The integration imports FaceFX XML Actor files into the Unity editor
- Animations are bones-based as opposed to morph-based.
- No additional plugins are required. Just a standard Unity webplayer (both Unity and Unity Pro are supported)
Using the integration with FaceFX Studio Professional requires the following steps:
- Generate animations in FaceFX Studio
- Collapse the Face Graph.
- Export an FaceFX XML Actor file
- Attach the FaceFX Controller script to your unity character, and import the XML file from the Assets Menu (assuming you have installed the editor script first)
- Play animations like you normally do in Unity or from the FaceFX controller script interface to synchronize audio with playback.
Using the integration with a FaceFX (evaluation) plugin is outlined here. It involves the following steps:
- Generating a FaceFX file from the plugin with an animation and bone poses.
- Opening the FaceFX file in FaceFX Studio Free and exporting an XML Actor.
- Import the XML file onto your unity character exactly like FaceFX Professional Customers do in the steps outlined above.
- Download the source files from here to check out the integration.
- Watch the video tutorial here.
- You will need to purchase a license to FaceFX Studio Professional or a FaceFX Studio plugin to generate new animations and create XML files that the Unity integration can read.
- If you are using a FaceFX plugin, you won't be able to collapse the Face Graph, so your Face Graph can't have any links. To get head and eye rotations working, you will need to use an analysis actor like this one that is designed for use with a very simple face graph.
- For plugin users, you can use FaceFX Studio Free to load your .facefx file saved from the plugin and convert it into XML
Special thanks to Evolver for the 3D characters
