|
  1. Tutorials
  2. Export shape keys to unity from blender

Export shape keys to Unity from Blender

Hayden Falzon Avatar

By Hayden Falzon on February 20, 2023

Updated on March 31, 2024

Shape keys do not work with the action editor?

In Blender, the Action Editor primarily works with armatures, leaving shape keys somewhat disconnected from the animation workflow, especially for Unity projects.

With this video I will guide you through the process of setting up these drivers so that you can use shape keys in your next animation project within the Unity game engine with you Blender models.

The solution

The solution involves utilizing Drivers to link shape keys to non-deformation bones within the armature. Because drivers can be added to bones we can use them to "drive" the shape keys, thus being able to animate them per "action" for unity.

Benefits

This method enables you to control shape key values through bones, making them compatible with the Action Editor and thus allowing seamless integration into your Unity animations.

By attaching shape keys to bones via Drivers, you establish a direct relationship that facilitates smooth animation transitions and cohesive actions within Unity.

Negatives

Honestly, there are few scenarios where this methodology won't work for you. You just need to be mindful that your model doesn't not have any other modifiers other than the Armature modifier, as shape keys are not able to be exported while the "Apply Modifier" option is checked in the blender export options.

Author

About the Author

Hayden Falzon Avatar

Hayden Falzon

Founder of Polyfable and creator of Polyfable CMS. Hayden will tell everyone that he is not a programmer, game developer, educator, artist, 3D modeller, or animator... Instead, he tells people he is a storyteller. Graduated from the Australian Film Television and Radio School (AFTRS) inaugural Bachelor program, Hayden has been proactive in fostering a multidisciplinary outlook on digital storytelling across all of its mediums. (not just screens!) Teaching Students both via Polyfable and at Universities, such as Torrens Australia and Essen University of Fine Arts, Germany, Hayden has a particular joy in sharing knowledge and helping people tell their tales!