# Bone export via the 3ds max plugin

**URL:** <https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166>\
**Category:** Questions\
**Created:** [May 27, 2021, 12:18am UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166 "2021-05-27T00:18:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobmagicii](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bobmagicii/32/16424_2.png) [@bobmagicii](https://forum.babylonjs.com/u/bobmagicii)\
**Post date:** [May 27, 2021, 12:18am UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/1 "2021-05-27T00:18:47Z")

</div>

not really sure what all info to include, but the summary of my problem is, when i export a model with the 3ds max plugin, i only get the first bone in the skeleton, and i’ve run out of combinations of checkboxes to try that make sense. not sure what i’ve done wrong or if the exporter is broken.

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

what i have is two shapes, with a skin, and the bone “Head” added to them. without the skins, i get no bones (which seems reasonable) but with the skins, i only get Root.

now, if i add both Root and Head to my skin, i will get both Root and Head. but now my model is using 2 of my only 4 bone influences so this does not sound like the correct way to do it.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 27, 2021, 2:25am UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/2 "2021-05-27T02:25:00Z")

</div>

adding @Guillaume_Pelletier

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [May 27, 2021, 8:17pm UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/3 "2021-05-27T20:17:51Z")

</div>

Welcome to the forums!

Are you trying to export to Babylon or glTF format? Also, can you include the max scene so we can try to repro?

---

<div class="post-metadata">

**Author:** ![bobmagicii](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bobmagicii/32/16424_2.png) [@bobmagicii](https://forum.babylonjs.com/u/bobmagicii)\
**Post date:** [May 27, 2021, 8:41pm UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/4 "2021-05-27T20:41:41Z")

</div>

cheers m8 - funnily, i tried all four of the choices - babylon, binary babylon, gltf, and the other gltf. but plain ol babylon format is the one of choice.

[https://pegasusgate.net/upl/player.max](https://pegasusgate.net/upl/player.max)

this should be in its “working” state where my skins have both Root and Head added, such that exporting will work as expected. however the model is painted with both Root and Head then, so two of the four influences. i was trying to replicate other games i have modded, for example, in skyrim, the entire body is not painted NPC Root [Root], as skyrim also has the 4 influence rule.

to cause what i consider to be the strange behaviour, simply remove “Root” from the skins and export again, doing this is how i am getting only the Root in the final file with no Head.

it also has 2 animation groups, “walk” and “jump” and all that worked in the game when i exported it this one specific way. just trying to nail down the rigging and exporting process needed. if you hit play you can see the little tank man wobble “walk” and flip jump XD

my running theory was that only Head should be added to the skin, since that is what seems to create the envelopes and throw paint on the model. if this is just how it is, that means we’d have to add every bone to every skin and then unpaint the auto 100% paint it adds when you do that.

[edit] fixed the player.max link

---

<div class="post-metadata">

**Author:** ![bghgary](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bghgary/32/48532_2.png) [@bghgary](https://forum.babylonjs.com/u/bghgary)\
**Post date:** [May 27, 2021, 10:05pm UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/5 "2021-05-27T22:05:04Z")

</div>

Ok, hopefully @Guillaume_Pelletier will have time to investigate 🙂

---

<div class="post-metadata">

**Author:** ![bobmagicii](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/bobmagicii/32/16424_2.png) [@bobmagicii](https://forum.babylonjs.com/u/bobmagicii)\
**Post date:** [May 28, 2021, 10:02pm UTC](https://forum.babylonjs.com/t/bone-export-via-the-3ds-max-plugin/21166/6 "2021-05-28T22:02:56Z")

</div>

another thing i have found is if you have multiple meshes, if the skin doesn’t have the same bones on each mesh in the same order, you end up getting multiple skeletons. and there are still missing bones, so the mesh explodes in the preview tool.

here is a model that if you export you end up getting 28 skeletons lol, even though its literally only one.

[https://pegasusgate.net/upl/player2.max](https://pegasusgate.net/upl/player2.max)

interesting about this second model is once again i only put the one bone each mesh needs to know about. and when you inspect the skeletons, you get the full tree to that bone, except you don’t get that bone. example, on export skeleton #0 should be the skeleton the head, and it goes from bRoot all the way up to bNeck but no bHead, what the mesh with that skin was painted to.
