Why does bone translate work on this model?
https://playground.babylonjs.com/#1BZJVJ#32
But not on this model?
https://playground.babylonjs.com/#DLPNQT#13
Why does bone translate work on this model?
https://playground.babylonjs.com/#1BZJVJ#32
But not on this model?
https://playground.babylonjs.com/#DLPNQT#13
This is due to the fact that babylon uses node synchronized bone transformations in the glb file.
This may be useful for animating bones in model files imported in right-handed coordinate systems, attaching models to bones and dealing with coordinate system transformations and such.
So, for gltf files, you need to drive the nodes that represent the bones rather than the bones themselves.
If you don’t like this way of synchronizing with trasnformNode, you can use
bone.linkTransformNode(null)
to un-synchronize it.
see line 41
Thanks for the explanation. Is there some place in the documentation that talks about such discrepancies?