Fix missing root motion copy when using input skeleton pose (eg. IK node)

#3445
This commit is contained in:
Wojtek Figat
2025-10-03 11:33:01 +02:00
parent 4c640b915f
commit 4f45b3c1d0

View File

@@ -811,6 +811,7 @@ public:
{
// Copy the node transformations
Platform::MemoryCopy(dstNodes->Nodes.Get(), srcNodes->Nodes.Get(), sizeof(Transform) * _skeletonNodesCount);
dstNodes->RootMotion = srcNodes->RootMotion;
// Copy the animation playback state
dstNodes->Position = srcNodes->Position;