|
I wanted to develope the inverse kinematics through MAYA API(Maya 2009).
So I analyzed the simpleSolverNode.cpp located in “Autodesk\Maya2009\devkit\plug-ins”
By using the Visual Studio 2008, I made the mll file.
And then I connected the plug-in,
made the two joint(single bone),
typed the command("ikHandle -sol simpleSolverNode -sj joint1 -ee joint2") in the command line.
The result is error.
// Error: The ikSolver does not exist. //
Why did not operate the devkit code?
Help me, please.
|
|
|
|
You need to create node before write the mel command
createNode simpleSolverNode -----in mel command
it will create simpleSolverNode1
---then you need to write
ikHandle -sol simpleSolverNode -sj joint1 -ee joint2
it should work.It is working now in my mechine.
|
|
|