chore: fix invalid sign when loading gltf

This commit is contained in:
Jan
2024-09-03 22:04:14 +02:00
parent 0bd581ef75
commit 36bc3cf7a3
2 changed files with 14 additions and 14 deletions

View File

@ -467,8 +467,8 @@ namespace
if (node.rotation)
{
bone.localRotation.x = (*node.rotation)[0];
bone.localRotation.y = (*node.rotation)[2];
bone.localRotation.z = -(*node.rotation)[1];
bone.localRotation.y = -(*node.rotation)[2];
bone.localRotation.z = (*node.rotation)[1];
bone.localRotation.w = (*node.rotation)[3];
}
else