How to set joint orientation axis to xyz

How to set joint orientation axis to xyz

carlcox62
Advocate Advocate
2,420 Views
3 Replies
Message 1 of 4

How to set joint orientation axis to xyz

carlcox62
Advocate
Advocate

im learning from an older book. it says that i have to set the joint orientation to xyz and the second axis world orientation to none. how can i do this with the new orientation menu for maya 2022? xyz would be to world?

0 Likes
Accepted solutions (1)
2,421 Views
3 Replies
Replies (3)
Message 2 of 4

Kahylan
Advisor
Advisor
Accepted solution

Hi!

How old is your book? I have been working with Maya since Maya2014 and I don't think the Joint Orient interface has changed in any way since then.

If you want to orient your joints to xyz with *secondaryAxisOrientation* set to none, you simply go into the joint orient menu, (Rigging Toolset, Skeleton->Orient Joint) and set your Primary axis as "X" and set the secondary axis to "None".

The *orientJointToWorld* option is generally only used for the last joint in a chain, it basically tells the joint to see it's direct parent as the world orientation and to orient itself to match the same rotationspace. Because Joint orientation is always relative to the next joint in the chain, so this is handy if you want the last joint in your chain oriented correctly since it has no child to orient towards.
Your book probably talks about "xyz" because you also should set the *rotateOrder* attribute on your Joint to xyz, if you choose X as your main axis, to avoid unnecessairy gimballock problems. Or because they take their information from the coding side of things where orienting a joint like that would be:

MEL
joint -e -oj xyz  -ch -zso "nameOfJoint";
Python

cmds.joint("nameOfJoint", e = True, oj = "xyz", ch = True, sao = "none")


Also, as someone who likes my joints well oriented, I would advise you against using *secondaryAxisOrientation*  none undless your jointchain is perfectly straight, your secondary axis might flip by 180 degrees from joint to joint if you don't specify it.

Hope this helps

0 Likes
Message 3 of 4

carlcox62
Advocate
Advocate
It calls Learning Autodesk Maya 2009 The Modeling and Animation Handbook
0 Likes
Message 4 of 4

Kahylan
Advisor
Advisor

Oh, I see. I don't know how helpful that is going to be considering that Maya went through 2 major interface changes since then (Maya2012 and Maya2016). Also there are many quite complicated workflows in Maya2009 that have been replaced with easier and more reliable workflows since then.

I would recommend you to check out the Maya Learning Channel on Youtube.

http://www.youtube.com/c/MayaHowTos

They have great tutorials to get you started, it's all free information and they also have a 10 part series on rigging which explains things like the joint orientations.

I wish you all the best on your journey of learning Maya!

0 Likes