Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Batman by Jason Edwards
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 10-08-2010, 03:58 AM   #1
Join Date: Nov 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
TehDuke is offline   Reply With Quote
Old 10-08-2010, 08:44 AM   #2
The thin red line
daverave's Avatar
Join Date: Aug 2009
Location: England
Posts: 4,468
Thanks: 101
Thanked 952 Times in 879 Posts

You could try deleting the history at the start of the animation, that might work............dave

Avatar Challenge Winner 2010
daverave is offline   Reply With Quote
Old 10-08-2010, 04:17 PM   #3
Join Date: Dec 2005
Location: Toronto
Posts: 3,366
Thanks: 74
Thanked 709 Times in 642 Posts

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.
stwert is offline   Reply With Quote
Old 13-08-2010, 07:36 AM   #4
LauriePriest's Avatar
Join Date: May 2003
Location: London
Posts: 1,001
Thanks: 0
Thanked 59 Times in 51 Posts

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
LauriePriest is offline   Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 06:26 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM
New Feature: Multiple Image Upload David Members Lounge 0 30-11-2010 08:40 PM

Thread Tools

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.