- Import the FBX file into Unity. You can drag and drop it into the appropriate asset folder.
- On the Import Settings file, under the Model tab, make sure that the "Import BlendShapes" button is checked.
This is an example of what the file will look like:
- In the Rig tab, set "Avatar Definition" to "Create From This Model".
- Create an "Animation Controller" for the new slime type, adding in the necessary animations, parameters, and settings to trigger the animation. (Once the controller is made, you can either drag one animation on at a time or you can drop the FBX file onto the controller). For more information about the animator system, visit Unity Docs.
An example of a setup animator:
- Add the imported FBX file to the scene (I would suggest the art scene for ease of use, regardless of the scene used, the changes to the scene will be deleted after).
- Add an Animator component to the new slime in the scene (if not already there) and attach the newly created controller.
- Add the SlimeBlendShapes.cs file as a component to the slime.
- Continued below.