Moving animated object inside a group with translates in it

Moving animated object inside a group with translates in it

Anonymous
No aplicable
3.195 Vistas
4 Respuestas
Mensaje 1 de 5

Moving animated object inside a group with translates in it

Anonymous
No aplicable

Hey, I encountered a strange setting in maya. Usually when you move an object inside the group that has some values other than 0 in the translate, maya balances out the translates on that object so that it stays in the same place in 3d space. However it does it only on the keyframe that I am currently at which doesn't make any sense! When I move the object with keyframes inside the group my translates stays the same on all the keys other than the one I am currently at, and therefore my animation is a complete mess. Is there a way to deal with that?

0 Me gusta
3.196 Vistas
4 Respuestas
Respuestas (4)
Mensaje 2 de 5

dinofiguera
Collaborator
Collaborator

When you parent a child to a parent, the parent will be the World space for the child.
If the parent has translations, the translation of the child change to adapt to the new coordinate space.
If your child has animated translations, the values will change too.

To Parent an animated object to a parent you first need to group (CTRL-G) the animated object,
Then you parent this new group to your translated object.
This way the new group will change its translations while your animated object will stay the same.
the new group will be the offset group that you can lock and no touch.
Cheers
D

Mensaje 3 de 5

Anonymous
No aplicable

I am attaching a video that illustrates the problem.

0 Me gusta
Mensaje 4 de 5

Anonymous
No aplicable

yes, your method is working but what if I have to have the same translates as the object that is already inside the group so that I can copy the keyframes from one object to the other to extend its movements? I need the translates inside the group to be consistent. I am wondering if there is a way of adapting the coordinates of the child to its parent on all the keyframes. 

0 Me gusta
Mensaje 5 de 5

dinofiguera
Collaborator
Collaborator

mmm, I´m not sure if I understood what you want to achieve.
Let´s say you have 3 cubes, they are all at the origin, unparented.
you animate them all together going from 0 to 10 units in 10 frames let´s say on the x-axes.
Now your shift of 10 frames the animation of the second cube, and shift of 20 frames the animation of the third one.
So you have now three cubes with the same animation but starting at a different time.
Now you parent cube2 under cube1 and cube3 under cube2.

Now you have 3 cubes that extend their animation, because each parent is the starting point of the child.

0 Me gusta