Fix missing root motion copy when using input skeleton pose (eg. IK node)
#3445
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user