Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 06-01-2013 , 03:11 PM
Registered User
Join Date: Jan 2013
Posts: 1

create joints

Hi

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.

Code:
        [ ... ]
        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

# 2 12-01-2013 , 08:46 AM
NextDesign's Avatar
Technical Director
Join Date: Feb 2004
Posts: 2,988


Imagination is more important than knowledge.
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads