zoobie
01-07-2013, 03:46 PM
Hello.
I am writing a bvh files translator in API C++ maya.
I use the class MFnIkJoint and I have some difficulties in creating a skeleton. Actually, I don't know how specify the fact that joint2 would be the child of joint1.
[ ... ]
MStatus status;
MFnIkJoint joint1Fn;
joint1Fn.create(MObject::kNullObj,&status);
MVector vec(2.0,2.0,2.0);
status = joint1Fn.setTranslation(vec,MSpace::kTransform);
MFnIkJoint joint2Fn;
[ ... ]
Thanks
I am writing a bvh files translator in API C++ maya.
I use the class MFnIkJoint and I have some difficulties in creating a skeleton. Actually, I don't know how specify the fact that joint2 would be the child of joint1.
[ ... ]
MStatus status;
MFnIkJoint joint1Fn;
joint1Fn.create(MObject::kNullObj,&status);
MVector vec(2.0,2.0,2.0);
status = joint1Fn.setTranslation(vec,MSpace::kTransform);
MFnIkJoint joint2Fn;
[ ... ]
Thanks
