Enable Transform Lerp

This commit is contained in:
Chandler Cox
2023-12-07 20:31:18 -06:00
parent e9285410e2
commit 73074b6e44

View File

@@ -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;