1
0
mirror of synced 2024-11-14 11:07:39 +01:00

Fix old bfres calculating rigid matrices as identity instead of zero.

This commit is contained in:
KillzXGaming 2019-12-12 19:58:56 -05:00
parent ac474b1754
commit 72636c7726

View File

@ -35,7 +35,9 @@ namespace Bfres.Structs
List<ushort> RigidIndices = new List<ushort>();
foreach (var Bone in Skeleton.Bones.Values)
Bone.InverseMatrix = new Syroot.Maths.Matrix3x4();
Bone.InverseMatrix = new Syroot.Maths.Matrix3x4(1,0,0,0,
0,1,0,0,
0,0,1,0);
ushort SmoothIndex = 0;
foreach (BfresBone bn in bones)