Skip to content

question on Maya exporter - DOFs #2

@jmkinzer

Description

@jmkinzer

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);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions