mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 06:19:47 -05:00
fix: Remove matrix properties in VRM0.x migration
This commit is contained in:
parent
e3d4ea53e8
commit
d55e125148
|
|
@ -152,6 +152,9 @@ namespace UniVRM10
|
|||
gltfNode.rotation = node.LocalRotation.ToFloat4();
|
||||
gltfNode.scale = node.LocalScaling.ToFloat3();
|
||||
|
||||
// remove matrix properties because TRS is used
|
||||
gltfNode.matrix = null;
|
||||
|
||||
if (gltfNode.mesh >= 0)
|
||||
{
|
||||
if (gltfNode.skin >= 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user