# Rig animation broke while import fbx in DEEP AR

**URL:** <https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299>\
**Category:** Help & Questions\
**Created:** [May 15, 2023, 1:01pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299 "2023-05-15T13:01:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivi\_Jain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/shivi_jain/32/446_2.png) [@Shivi\_Jain](https://forum.deepar.ai/u/Shivi_Jain)\
**Post date:** [May 15, 2023, 1:01pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/1 "2023-05-15T13:01:02Z")

</div>

I am facing issue while importing fbx with rig and animation from Maya to Deep AR  
rig seems to be broken while import.  
Please suggest me how to export a character with rig and animated whole in Deep Ar from maya or blender

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [May 16, 2023, 4:56pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/2 "2023-05-16T16:56:02Z")

</div>

Hi,  
here are some tips for rigging:  
Joints need to always be in the same position as we provide in the template  
You need to affect a big portion of the mesh  
Use multiple joints: eg. for moving the mouth, I would recommend using the jaw joint to move the whole bottom of the face, then 4 mouth joints  
Do not move the joints even if the model doesn’t fit then paint the skin weights as if the joints match your model

Best,  
Jelena  
[Head\_Template (1).fbx.zip](https://forum.deepar.ai/uploads/short-url/yudZRASEdpTSJyFifxo09Dqrxv8.zip) (546.4 KB)

---

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.deepar.ai/u/tal)\
**Post date:** [May 30, 2023, 1:38pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/3 "2023-05-30T13:38:22Z")

</div>

hey Jelena!

I tried doing what you told but a deformation is still there when I import.

 ![issue](https://europe1.discourse-cdn.com/flex017/uploads/deepar/original/1X/7dffca13b070c4d7334714ff2f264453f846fc64.png)

I need help!!

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [May 31, 2023, 2:33pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/4 "2023-05-31T14:33:05Z")

</div>

Can you share the source fbx files?

---

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.deepar.ai/u/tal)\
**Post date:** [May 31, 2023, 5:07pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/5 "2023-05-31T17:07:32Z")

</div>

here you go:[https://we.tl/t-Srt9MrrlTm](https://we.tl/t-Srt9MrrlTm)

I used the same hierarchy you sent but I did not weight all of the bones, only a few.

---

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.deepar.ai/u/tal)\
**Post date:** [June 5, 2023, 8:12am UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/6 "2023-06-05T08:12:29Z")

</div>

Hi Jelena,

Did you check the file?

Thanks!

---

<div class="post-metadata">

**Author:** ![Luis\_Salazar](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/luis_salazar/32/27_2.png) [@Luis\_Salazar](https://forum.deepar.ai/u/Luis_Salazar)\
**Post date:** [June 5, 2023, 2:57pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/7 "2023-06-05T14:57:38Z")

</div>

Hi Tal,

I’ve inspected the model and it contains a lot of joints assigned to the mesh but without any influence weights.  
The few joints that have influence work normally in the studio. Like the mandible for example (J9). It is attributed to the mesh, it also contains skinning weight information and it works in the studio.

My suggestion is to rig the whole model before bringing it in the studio. Or simply remove the bones that shouldn’t have any influence (remember to detach the bones influence from the model, simply deleting might be problematic as well).

To summarise, there should be no vertices without joint influence in a rigged mesh.

I hope this helps,

Best regards,

Luis

---

<div class="post-metadata">

**Author:** ![tal](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tal](https://forum.deepar.ai/u/tal)\
**Post date:** [June 8, 2023, 1:15pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/8 "2023-06-08T13:15:02Z")

</div>

I have imported the model according to the directions you gave and it shows up almost fine in the studio. Im using blender

1. For some reason joints are always off when I import them, by “off,” I mean deviated from the original position (it’s only slightly this time but it’s there).
2. So I place the head where it should be, with the joints, it looks fine but I cant attach a face position component, the software says that it is already there and exists “in Face space,” where do I find that?
3. If I don’t do much and just drag and drop the model, adjust it a bit and then test it on a webcam or phone, something shows up, but it goes somewhere I cannot see and is nowhere near the face.
4. blendshapes also do not work, ive tried naming blendshapes as emotions and then attached an emotion component to the head model without a skeleton, the emotions dont get detected over the camera

Ive tried following the relevant tutorials, if you can send a guide or tutorial that especially helps with these I will appreciate.

Looking forward to your response.

Thank you!  
Tal

---

<div class="post-metadata">

**Author:** ![Endo\_Mortosis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/endo_mortosis/32/490_2.png) [@Endo\_Mortosis](https://forum.deepar.ai/u/Endo_Mortosis)\
**Post date:** [June 9, 2023, 5:54pm UTC](https://forum.deepar.ai/t/rig-animation-broke-while-import-fbx-in-deep-ar/299/9 "2023-06-09T17:54:26Z")

</div>

Free advice for anyone wandering into this thread in the future:

Make sure all weights are Normalized. DeepAR did not account for sub-zero total vertex weighting.

Make sure all vertex weights are normalized.
