# Blender to threejs Animation Statemachine

**URL:** <https://discourse.threejs.org/t/blender-to-threejs-animation-statemachine/45255>\
**Category:** Showcase\
**Tags:** animation\
**Created:** [November 28, 2022, 7:22am UTC](https://discourse.threejs.org/t/blender-to-threejs-animation-statemachine/45255 "2022-11-28T07:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marwie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marwie/32/22424_2.png) [@marwie](https://discourse.threejs.org/u/marwie)\
**Post date:** [November 28, 2022, 7:22am UTC](https://discourse.threejs.org/t/blender-to-threejs-animation-statemachine/45255/1 "2022-11-28T07:22:57Z")

</div>

[https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/c/b/cb558d41450ff75a170c269cafd86d51a3b94bb1.mp4](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/c/b/cb558d41450ff75a170c269cafd86d51a3b94bb1.mp4)

Been working on this the past two days for Needle Engine 🙂

---

<div class="post-metadata">

**Author:** ![GhostCat](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ghostcat/32/16363_2.png) [@GhostCat](https://discourse.threejs.org/u/GhostCat)\
**Post date:** [May 7, 2023, 10:29am UTC](https://discourse.threejs.org/t/blender-to-threejs-animation-statemachine/45255/2 "2023-05-07T10:29:25Z")

</div>

I didn’t quite get it, but I thought it was amazing

---

<div class="post-metadata">

**Author:** ![marwie](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marwie/32/22424_2.png) [@marwie](https://discourse.threejs.org/u/marwie)\
**Post date:** [May 7, 2023, 10:45am UTC](https://discourse.threejs.org/t/blender-to-threejs-animation-statemachine/45255/3 "2023-05-07T10:45:28Z")

</div>

You can build animation state machines in blender exactly like in Unity with their animator controller. In fact you can even export it and import it again in Unity if you want

With that it is easy to setup logic visually when to play which animation (e.g. walk, run, jump) and when to transition to another state/animation with what speed etc
