Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Additional feature in offsetParentMatrix

Additional feature in offsetParentMatrix

Firstly, thanks a lot for adding the 'offsetParentMatrix' feature. After using it I would like to suggest a little additional feature that will be a very useful way to use 'offsetParentMatrix'. Currently we can feed a worldMatrix to any objects' offsetParentMatrix and it workd perfectly. But consider a following scenario.
We have a 'joint1', and we feed worldMatrix of a locator named 'joint1_origin'. It works fine. But when you create joint2 and parent it under joint1 and then feed worldMatrix of a locator named 'joint2_origin' the behaviour breaks. The easiest way to fix this is adding a 'multMatrix' node between the origin locator and and joint and multiply the worldInverseMatrix of the origin locator of the joints parent. However, if there is a small  textbox in the 'offsetParentMatrix' tab where we cab specify the parentOrigin and then it's worldInverse matrix gets multiplied with the currentOffsetMatrix automatically then there would be no need to have additinal multMatrix nodes. I would like to know everyone's view on this. Attached is an image and a file demonstrating the setup using multMatrix and offsetParentMatrix.

Unfortunately I wasn't able to upload the maya file therefore I'm showing the setup only with an image.

 

offsetParentMatrix.jpg

 

I'm trying to achieve the same result as shown in the video I made two years ago when the offsetParentMatrix was't available. Here's the link to the video Rigging with Pre-Tranforms 

2 Comments
zewt
Collaborator

You probably just want to turn off inheritsTransform on joint2.

 

pranaymeher
Enthusiast

Hi @zewt , Thanks for the reply. Turning off the 'inherit transform' stops the joints from following the FK hierarchy. The setup I have showed in the image allows the orientation, translation and scale of the joint to be manipulated using the locators while the joint adheres to the fk hierarchy. This also allows to change the joint position when the rig is not in bind pose. I don't know why uploading Maya file does not work. If I could share the Maya file then it will be lot clear share the idea.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea