Add support for overriding Anim Graph output for Animated Model

This commit is contained in:
Wojtek Figat
2021-11-03 12:25:31 +01:00
parent bd531aa6c2
commit f6e8596e91
2 changed files with 10 additions and 2 deletions

View File

@@ -273,6 +273,9 @@ void AnimGraphExecutor::Update(AnimGraphInstanceData& data, float dt)
animResult = GetEmptyNodes();
}
// Allow for external override of the local pose (eg. by the ragdoll)
data.LocalPoseOverride(animResult);
// Calculate the global poses for the skeleton nodes
{
ANIM_GRAPH_PROFILE_EVENT("Global Pose");