Dynamic Parent/en — различия между версиями
Xeash (обсуждение | вклад) (Новая страница: «== Creating Dynamic Parent == # Select in Maya '''driver''' control ('''parent''') # Do Right Mouse Buttin click on '''driven''' control ('''child''') and in cont…») |
Xeash (обсуждение | вклад) (Новая страница: «== Animating Dynamic Parent == On animation controls we have special attribute''parent''', and you need to key it, to keep seamless switch at current frame. Notic…») |
||
| Строка 13: | Строка 13: | ||
[[File:dynamic_parent.gif]] | [[File:dynamic_parent.gif]] | ||
| − | == | + | == Animating Dynamic Parent == |
| − | + | On animation controls we have special attribute''parent''', and you need to key it, to keep seamless switch at current frame. Notice that when you do seamless switch, | |
| − | + | values of '''translate''', '''rotate''' channels are changing. You need to key them too when you do switching parents, to make control keep its world position relative to new parent. If you use standard '''SetKey''' (hotkey '''S'''), that will key all channels of the control, including '''translate''','''rotate''' and '''parent'''. | |
Версия 14:48, 6 марта 2018
Dynamic Parent - script that we use in our character rigs at Wizart Animation. We used to make animating constraints easier, for example, when you need one object follow another at start of the scene and follow other object at the end of the scene.
- Allow make parenting constraints very fast
- Allow seamlessly add more parents to existing constraint
- Allow seamlessly switching between parents
- Creates special animatable attribute on control, for easy keying and easy moving parenting keys.
- Free translate and rotate attributes of constrained control, so you can easily make animatable offsets.
Creating Dynamic Parent
- Select in Maya driver control (parent)
- Do Right Mouse Buttin click on driven control (child) and in context menu select Dynamic Parents=> Add Selected. This action will create contraint.
- Do Right Mouse Buttin click on driven control (child) and in context menu select Dynamic Parents=> Name of driver control. This action will do seamless switch.
Animating Dynamic Parent
On animation controls we have special attributeparent', and you need to key it, to keep seamless switch at current frame. Notice that when you do seamless switch, values of translate, rotate channels are changing. You need to key them too when you do switching parents, to make control keep its world position relative to new parent. If you use standard SetKey (hotkey S), that will key all channels of the control, including translate,rotate and parent.
Удаление Динамического Парента
Чтобы удалить констрейн, щелкните правой кнопкой мыши щелкните на ведомом обьекте (ребенок), и выберете Dynamic Parents=>Имя объекта ведущего обьекта, но щелкнуть нужно не на пункте меню, а именно на квадрате рядом с ним. Обратите внимание если на parent аттрибуте есть анимация, то у вас ничего не получится. Нужно сперва удалить анимацию на нем, используется контекстное меню Channel Box чтобы удалить анимацию. Рекомендуется использовать Delete Selected, а не Break Connections, так как второй оставляет висеть мусор в сцене.


