# morphTargetManagers not playing animation into Sandbox

**URL:** <https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188>\
**Category:** Questions\
**Tags:** animation, morph, skin\
**Created:** [January 28, 2022, 10:42am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188 "2022-01-28T10:42:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [January 28, 2022, 10:42am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/1 "2022-01-28T10:42:33Z")

</div>

Hi all,  
I wonder if somebody may tell me why this model when loaded into the sandbox  
[draco.zip](https://forum.babylonjs.com/uploads/short-url/bWX3uw0pVn5SDT1DkicxduLlGzP.zip) (967.9 KB)  
do not play the morph animation, when the skin animation is correctly launched and played.  
I have the Exported GLB which is nicely played  
[draco glb.zip](https://forum.babylonjs.com/uploads/short-url/uriyhNJQlNxSqtiUbPejiKonGcz.zip) (528.7 KB)  
Both are comming from the 3DSMax Exporter.  
Note : The question is not about adding Animation group but about the consistence of behavior between Skin and Morph animation into the .Babylon file/ Sandbox. It may be an issue into the file but i did not find anything so far.

-G.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [January 28, 2022, 3:58pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/2 "2022-01-28T15:58:07Z")

</div>

@bghgary might be able to help 🙂

---

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [January 28, 2022, 4:35pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/3 "2022-01-28T16:35:40Z")

</div>

He told me to put the question on the forum 😁

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [January 28, 2022, 7:20pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/4 "2022-01-28T19:20:33Z")

</div>

In babylon format animation are automated based on the autoAnimate property which is not in the influence animation one

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/f/3f08d2e2985d049e832eec4ef7dd6857159f2b22.png)

where as in gltf/b it is a loader property to trigger either the first or all the animations at once. sandbox is set to first.

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [February 25, 2022, 10:58am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/5 "2022-02-25T10:58:18Z")

</div>

Hello @Guillaume_Pelletier just checking in, was your question answered? 🙂

---

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [February 25, 2022, 3:21pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/6 "2022-02-25T15:21:45Z")

</div>

Nope, setting autoAnimate to true does not change the game.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 25, 2022, 7:45pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/7 "2022-02-25T19:45:00Z")

</div>

oh this is strange, could you provide a repro ?

---

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [February 26, 2022, 4:53pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/8 "2022-02-26T16:53:20Z")

</div>

yes, just play this into the sandbox  
[draco.zip](https://forum.babylonjs.com/uploads/short-url/pdqasc2ETJUIO07yU2AnAFJjeak.zip) (960.0 KB)  
Where added “autoAnimate” and related properties to the “animations” of the “targets” of the “morphTargetManager”.

Modifying the order of the Skeleton/Morph into the file do not change the behavior  
[draco\_swapped.zip](https://forum.babylonjs.com/uploads/short-url/8dVOvyLbPK1I1r01MMRKldbWPhT.zip) (960.1 KB)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 28, 2022, 2:36pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/9 "2022-02-28T14:36:19Z")

</div>

I ll have a look later tonight thanks for the repro

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [February 28, 2022, 2:36pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/10 "2022-02-28T14:36:22Z")

</div>

Assigned @sebavan on February 28, 2022, 2:36pm UTC



---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 1, 2022, 1:09am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/11 "2022-03-01T01:09:17Z")

</div>

Unassigned @sebavan on March 1, 2022, 1:09am UTC



---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 1, 2022, 1:09am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/12 "2022-03-01T01:09:46Z")

</div>

This will get fixed by [Fix morph autoAnimate by sebavan · Pull Request #12066 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/12066)

but the file needs to be changed to  
[draco.zip](https://forum.babylonjs.com/uploads/short-url/h4R0e3lXP3aNXfEr8drEwMnZwCx.zip) (815.9 KB)

---

<div class="post-metadata">

**Author:** ![Guillaume\_Pelletier](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/guillaume_pelletier/32/3695_2.png) [@Guillaume\_Pelletier](https://forum.babylonjs.com/u/Guillaume_Pelletier)\
**Post date:** [March 1, 2022, 11:34am UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/13 "2022-03-01T11:34:55Z")

</div>

Thanks, Let me know when the sand box will be updated, in order to make the related change and verify the pipeline within the Max exporter

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 1, 2022, 8:58pm UTC](https://forum.babylonjs.com/t/morphtargetmanagers-not-playing-animation-into-sandbox/27188/14 "2022-03-01T20:58:27Z")

</div>

it should be updated tomorrow in the next nightly
