mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 21:34:38 -05:00
boneWeights コピー忘れ
This commit is contained in:
@@ -150,6 +150,7 @@ namespace UniGLTF.MeshUtility
|
||||
// memo: BakeMesh(mesh, useScale) という第2引数がある
|
||||
src.BakeMesh(mesh);
|
||||
BakeBlendShapes(src, mesh);
|
||||
mesh.boneWeights = src.sharedMesh.boneWeights;
|
||||
|
||||
// apply SkinnedMesh.transform rotation
|
||||
var m = Matrix4x4.TRS(Vector3.zero, src.transform.rotation, Vector3.one);
|
||||
|
||||
Reference in New Issue
Block a user