What kind of mocap data you have? An fbx ? An animated skeleton? I did a script a few months ago that parented all the joints in my skeleton to a mocap skeleton . All they need was to have the same bone structure. After that I baked the keys and deleted the mocap. Don't know if it's that what u need . If it is useful I can send it to you.
Cheers Ricardo Viana On Monday, April 15, 2013, kim bourdette wrote: > I think what you want is the orientJoint attribute. So basically just do > with PyMel: > > myJoint.jointOrient.set(myObject.getRotation(ws=1)) > > You might have to unparent the joint first. > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:;>. > To post to this group, send email to > [email protected]<javascript:;> > . > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Sent from Gmail Mobile -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
