SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Lounges / Maya Basics & Newbie Lounge / animating multiple rotating objects

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
10-08-2010, 03:58 AM   #1
TehDuke
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.
  Reply with quote
10-08-2010, 08:44 AM   #2
daverave
The thin red line
 
daverave's Avatar
 
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
  Reply with quote
10-08-2010, 04:17 PM   #3
stwert
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.
  Reply with quote
13-08-2010, 07:36 AM   #4
LauriePriest
Moderator
 
LauriePriest's Avatar
 
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
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Animating multiple objects falling down from 'the sky' Artheus Animation 0 18-04-2016 07:28 PM
Objects move inconsistently when I move multiple MrSandman Maya Technical Issues 5 20-04-2015 08:13 PM
Rotating multiple objects around world space petersrin Maya Basics & Newbie Lounge 5 15-04-2012 09:08 AM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Maya Technical Issues 4 04-12-2010 11:56 PM
Animating 2500 objects easily Darkware Animation 2 01-06-2003 01:26 PM