From 73074b6e44a69dabb0ec1c7c09290294ccb6f175 Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Thu, 7 Dec 2023 20:31:18 -0600 Subject: [PATCH] Enable Transform Lerp --- Source/Engine/Animations/Graph/AnimGroup.Animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Animations/Graph/AnimGroup.Animation.cpp b/Source/Engine/Animations/Graph/AnimGroup.Animation.cpp index 37e605916..ea4575860 100644 --- a/Source/Engine/Animations/Graph/AnimGroup.Animation.cpp +++ b/Source/Engine/Animations/Graph/AnimGroup.Animation.cpp @@ -1083,8 +1083,8 @@ void AnimGraphExecutor::ProcessGroupAnimation(Box* boxBase, Node* nodeBase, Valu t.Orientation = originalOrientation + additiveOrientation; t.Scale = tA.Scale * (1 - alpha) + tB.Scale * alpha; t.Orientation.Normalize(); - nodes->Nodes[i] = t; - //Transform::Lerp(tA, t, alpha, nodes->Nodes[i]); + //nodes->Nodes[i] = t; + Transform::Lerp(tA, t, alpha, nodes->Nodes[i]); } Transform::Lerp(nodesA->RootMotion, nodesA->RootMotion + nodesB->RootMotion, alpha, nodes->RootMotion); value = nodes;