This commit is contained in:
Asval 2023-08-28 23:57:56 +02:00
parent b1be4da9b5
commit 6796577b9d

View File

@ -229,7 +229,7 @@ public class Skeleton : IDisposable
if (IsAnimated)
{
boneMatrix = _boneMatriceAtFrame[bone.Index];
parentBoneMatrix = _boneMatriceAtFrame[bone.ParentIndex];
parentBoneMatrix = bone.IsRoot ? boneMatrix : _boneMatriceAtFrame[bone.ParentIndex];
}
else
{