Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 10-08-2010 , 03:58 AM
Subscriber
Join Date: Nov 2008
Posts: 11

animating multiple rotating objects

I'm trying to animate a rubik's cube. When I rotate a slice (9 cube pieces) and make the keyframes all is fine. But then when i rotate another slice which happens to contain a cube piece that was in the previous animation everything goes weird. I can rotate and make the keyframes, but when i go through the animation some of the pieces act strangely, for example if i rotate the whole slice only in the x dimension, I notice some of the pieces rotate a bit in y and z as well for no apparant reason. I've tried it with grouping the pieces as well as just selecting a bunch and moving them at once and the same thing happens. Even when I do each piece individually it seems to happen.


Last edited by TehDuke; 10-08-2010 at 04:53 AM.
# 2 10-08-2010 , 08:44 AM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
You could try deleting the history at the start of the animation, that might work............dave




Avatar Challenge Winner 2010
# 3 10-08-2010 , 04:17 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Check in your graph editor to see how the curves are behaving at the points where you notice unwanted rotation. You might have to modify the tangents. I'm not sure exactly what the problem is, but I have a suspicion it has to do with a combination of the tangents and rotation in a local axis, which gets converted to global rotation with messy numbers. Hope that helps.

# 4 13-08-2010 , 07:36 AM
LauriePriest's Avatar
Moderator
Join Date: May 2003
Location: London
Posts: 1,001
Thats gimbal lock, apply a Euler filter to your animation, that should get rid of the locking but im not sure animating a rubicks cubeis technically possible with a Euler system. I did something symilar but its quite complex to set up.


FX supervisor - double negative
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