Fix space conversion issue

This commit is contained in:
ExMatics HydrogenC
2023-06-30 12:25:58 +08:00
committed by GitHub
parent 96589557b3
commit 0498f1488e

View File

@@ -127,7 +127,7 @@ void AnimatedModel::GetCurrentPose(Array<Matrix>& nodesTransformation, bool worl
Matrix world;
_transform.GetWorld(world);
for (auto& m : nodesTransformation)
m = m * world;
m = world * m;
}
}