提交 ec43b33f 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10319 from takahirox/FixGLTFSkinningBug

Fix GLTF Skinning bug
......@@ -217,12 +217,13 @@ THREE.GLTFLoader = ( function () {
// So it goes like this:
// SkinnedMesh world matrix is already baked into MODELVIEW;
// ransform joints to local space,
// transform joints to local space,
// then transform using joint's inverse
m4v[ mi ]
.getInverse( boundUniform.sourceNode.matrixWorld )
.multiply( boundUniform.targetNode.skeleton.bones[ mi ].matrixWorld )
.multiply( boundUniform.targetNode.skeleton.boneInverses[ mi ] );
.multiply( boundUniform.targetNode.skeleton.boneInverses[ mi ] )
.multiply( boundUniform.targetNode.bindMatrix );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册