Merge branch 'patch-1' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-patch-1
This commit is contained in:
@@ -144,7 +144,7 @@ void AnimatedModel::SetCurrentPose(const Array<Matrix>& nodesTransformation, boo
|
||||
Matrix invWorld;
|
||||
Matrix::Invert(world, invWorld);
|
||||
for (auto& m : GraphInstance.NodesPose)
|
||||
m = invWorld * m;
|
||||
m = m * invWorld;
|
||||
}
|
||||
OnAnimationUpdated();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user