2011 Software releases
Learn about the 2011 versions of some of Autodesk’s Digital Entertainment Creation tools.
  • 1/2
You are here:Forum Home / Autodesk® Maya® / Rigging / Constraints (orient, parent, aim) flips when parent is rotated indirectly (by rotating the group it is in)
  RSS 2.0 ATOM  

Constraints (orient, parent, aim) flips when parent is rotated indirectly (by rotating the group it is in)
Rate this thread
 
36061
 
Subscribe to this thread
avatar
  • sakuraba
  • Posted: 28 October 2009 05:28 AM
  • Total Posts: 2
  • Joined: 2007-03-25 23:22:17

Basically I want to be able to parent constrain an object to an other object without flipping occuring. For example:

I want to parent constrain (thats the effect i want anyway) ChildA to ParentA. ParentA is parented under GroupA. It’s hierarchy would look something like this:

GroupA
....ParentA

ChildA
....(parentConstrained to ParentA)

Now, this works fine when i move and rotate ParentA. It also seems to work fine when moving and rotating Group A. However, further investigation (looking at the channels) shows that flipping occurs on childA when rotating GroupA past 180 degrees. This would mess up motion blur etc. It becomes really obvious when baking the animation and looking at the curves. Using Euler Filter whould fix this, but this is not always appropriate.

It also works in this case to parent constrain ChildA directly to GroupA, but not in a more complex hierarchy. Say for example I have a character rig, and I want to constrain the hat to the head joint. I want the hat in a separated hierarchy so I have the option to bake out the animation for just the geometry and export that without the rig. Now whenever i rotate the whole character, the hip, the spine etc I get issues with flipping on the hat. Rebuilding the characters hierarchy in order to get the correct rotations would be really awkward in this case.

I’ve tried different solutions (orient constraints, aim constraints, parent constraint) but they all result in flipping eventually. I’m using maya 2008 but I don’t think this is version specific. Anyone have any ideas?



Replies: 0
avatar
  • Location: New York, NY
  • Total Posts: 168
  • Joined: 2006-08-22 19:26:53

This sounds very frustrating.
You may have already tried this, but the only thing that comes to mind right now is to
change the Interp Type of the parentConstraint to something other than “Average”.
“No Flip” seems like the best choice...but not always...try changing this value.
Hopefully this does the trick, but if not, I am stumped.
All the best with it.
~Ben



Replies: 0
avatar
  • sakuraba
  • Posted: 28 October 2009 08:14 AM
  • Total Posts: 2
  • Joined: 2007-03-25 23:22:17

Yeah, I should have mentioned that I’ve already tried this. :) Doesn’t make any difference unfortunately.

And yes, frustrating indeed. Seems to me like such a basic thing that should work by default without any workarounds… But still, if there is a workaround I would be happy as well.



Replies: 0




   
  Settings Choose Theme color: