Your browser does not support iframes.
Tell us what you think of the site.
I am trying to import an fbx into the SDK and scale individual bones of the model while the model is moving. same thing as using the scale tool in MotionBuilder.
However, even though it works when there is no motion on the model, when there is any motion there is no scaling effect on any of the bones. only global scaling changes the scale.
Any help would be greatly appreciated..
this is how i am scaling it -
pnode = root->GetChild(1)->GetChild(0)->GetChild(1);p= pnode->GetChildCount();printf("\n children of this node - ");std::cout<< p<< std::endl;
//Get current ScaleKFbxVector4 v4;
const char* pStr = "root";
//get bone nameKString s = pnode->GetName();
if(pStr == s)printf("\n found the root (hips)");
// print current scaleprintf("\n current scaling (X,Y,Z): ");
std::cout << v4.GetAt(0) << ", " << v4.GetAt(1) << ", " << v4.GetAt(2);
//rescale the sclaing KFbxVector4 m(1.7, 1.5, 1);v4 = v4*m;
//Set new scale((KFbxNode*)pnode)->SetDefaultS(v4);
Hi, Aberrated, if the node has scale animation, then you also need to scale each keys on the scale animation curves.