nConstraint is giving the error "source attribute '.nucleusid' cannot be found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Full error:
// Error: file: C:/Program Files/Autodesk/Maya2019/scripts/others/createNConstraint.mel line 722: The source attribute '.nucleusId' cannot be found. //
I'm trying to make attach a cape to a walking animation using a point to surface nConstraint. I made the nCloth in a new animation scene using a referenced rig but it comes to this error every time. Other nConstraints like component to component also yields this error.
Things I've tried:
I've tried making the nCloth in the original rig and it yields the same error, so the error is not because I used a referenced file.
I've tried resetting my preferences but same error.
I've tried testing this constraint on a simple scene, a cube and a plane, and it works! So the problem is with the animation/mesh.
I have looked at the node editor and I don't understand it. I can confirm that the nRigidShape(the passive collider on the mesh) IS connected to the nucleus. Sorry, I'm still a beginner.
Component to Component on the nCloth cape DOES work.
Making the mesh a passive collider does work with the cloth. From what I understand, the point to surface nConstraint should automatically make the surface a passive collider. Regardless, I've tried making the passive collider before and after the nConstraint and it yields the same error.
I have deleted the history on the cape before creating the nCloth.
What I want to know is how to fix this error and what is causing it so I can avoid it in the future. I don't understand why nucleus ID is needed or why it cannot be found, or for what. Thanks in advance!