Parenting object to bones not working at export with 3ds max

#1

Hello,

I made a simple scene to debug another bug but when I export the objects, the parented one are not parented in the babylon file.
here, the red boxes are skinned to one bones each. The green boxes are parented to the same bones as the red one.

If I parent a box to a bones not used in a skin the parenting is working.

Here is the playground
https://www.babylonjs-playground.com/#TH16ID#12

You can download the 3ds max file here
https://files.cynaptek.com/Parenting_bug.zip

#2

Pinging @drigax to help :slight_smile:

#3

Sounds like the weights are not coming over correctly. Wana send me your babylon file so I can take a look?

1 Like
#4

You can grab it here https://cdn.jsdelivr.net/gh/Gil-1/babylon-debug@c00737518283ec2f7e61ea888fc6743c526c63e1/parenting_bug.babylon

Thanks for taking a look :slight_smile:

#5

from what I see there are no weights or skeletons in the babylon file.

I bet you do not have your weights assigned correctly in 3ds and its skipping exporting of the skeleton it seems?

which is odd if you are getting them to move in the playground at all from loading them with that babylon file, cause the first thing I did was search skeletons and that array is blank.

#6

In the babylon file there are some skeletonId set.
I don’t know if you can check the 3ds max file but you will also be able to check the setup.

#7

@Pryme8 any news about this ?
Are you able to check the 3ds max file I shared ?

#8

As far as I saw there were no weights assigned or skeletons in the bjs file. So that means It sounds like it never exported from 3ds. I do not know enough about the exporter, but assume there should be a simple fix. We just need someone who knows the 3ds exporter.

1 Like
#9

Hopefully @drigax will be able to check it asap

#10

Thanks for the ping, I’m currently preoccupied with a few other reported exporter bugs, but I should be able to give this a good look in around a week.

1 Like
#11

Great, thanks :slight_smile:

#12

Feel free to create an issue on the Exporter repo so we can track it

2 Likes
#13

Ok, done :slight_smile:

Thanks !

1 Like
#14

Actually I just realized that this is not supported. Bones are not entities you can inherit from in .babylon file format.

See my comment on the issue