Fix old bfres calculating rigid matrices as identity instead of zero.
This commit is contained in:
parent
ac474b1754
commit
72636c7726
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user