Bak3d
Bak3d copied to clipboard
question on Maya exporter - DOFs
Hi - So I'm a bit puzzled by the following code in the MAYA exporter. Looks like extractDOF does nothing (#if 0'd) and am unclear about the custom node with the "dofa" attribute. Can you explain a bit more how this is intended to work? Thanks!
else if( object.hasFn(MFn::kPluginLocatorNode))//kPluginIkSolver))
{
DPF(("DAGNODE %s\n", dagNode.fullPathName().asChar()));
float f;
// This is the way to detect it...
if(!getAttributeFloat(object, "dofa", f))
{
DPF(("DAGNODE %s not IK Locator\n", dagNode.fullPathName().asChar()));
return status;
}
#if 1
//
// Export related curves... if exist
//
if(bExportAnimCVs)
{
exportCurve(object, level);
}
#endif
extractDOF(dagPath, level, bIntermediate, bk3dTransformParent);
}