Character Rig Download
This page contains a download of the Airship Character Rig so you can animate in tools like Blender.
Creating Animations With Blender
You can create multiple animations in 1 blender file
Open the Dope Sheet window
Switch the dope sheet to the Actions panel
Create a new Action
Each action will export as an individual Animation Clip for Unity

Exporting to FBX
Convert your animations to FBX to bring them into Unity
File -> Export -> FBX
Setup our recommended settings
Save
You can save your settings a preset for quick setup next time.
Click the + icon on the top right of the export window.

Importing to Unity
Place the FBX into a folder in your project or drag it into the Project window of Unity.
Set the rig type to Generic and assign the character avatar

You should see each Action you made as an Animation Clip in the Animation tab of your file

Your animation clips can now be used as variables in AirshipComponents or directly in an Animator state machine.

import Character from "@Easy/Core/Shared/Character/Character";
export default class AnimTest extends AirshipBehaviour {
//Reference to the project file
public animClip: AnimationClip;
//Reference to the scene instance
public character: Character;
override Start(): void {
//Play the animation on the character
this.character.animationHelper.PlayAnimation(this.animClip, CharacterAnimationLayer.OVERRIDE_4, 0.5);
}
}

Last updated