Dynamic Parent/en — различия между версиями

Материал из Voronezh.Studio Wiki
Перейти к: навигация, поиск
(Новая страница: «* Allow make parenting constraints very fast * Allow seamlessly add more parents to existing constraint * Allow seamlessly switching between parents * Creates spe…»)
 
(не показано 15 промежуточных версий 3 участников)
Строка 1: Строка 1:
 
<languages/>
 
<languages/>
<big>'''Dynamic Parent'''</big> - 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.
+
<big>'''Dynamic Parent'''</big> - script that we use in our character rigs at '''Wizart Animation'''. <br>
 +
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 make parenting constraints very fast
Строка 7: Строка 8:
 
* Creates special animatable attribute on control, for easy keying and easy moving parenting keys.
 
* 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.
 
* Free translate and rotate attributes of constrained control, so you can easily make animatable offsets.
== Создание Динамического Парента==
 
# Выделите в Maya обьект '''ведущий''' объект ('''родитель''')
 
# Правой кнопкой мыши щелкните на '''ведомом''' обьекте ('''ребенок''') и в меню появившемся меню выберите Dynamic Parents=> '''Add Selected'''. Это создаст констрейн.
 
# Правой кнопкой мыши щелкните на '''ведомом''' обьекте ('''ребенок''') и в меню появившемся меню выберите Dynamic Parents=> Имя объекта '''ведущего''' обьекта. Это бесшовно переключит констрейн на него.
 
[[File:dynamic_parent.gif]]
 
  
== Анимирование Динамического Парента ==
+
== Creating Dynamic Parent ==
На анимационном контроле создается специальный аттрибут '''parent''', вам нужно ставить ключи на него, чтобы переключение сохранялось. Обратите внимание что при бесшовном переключении,
+
# Select in Maya '''driver''' control ('''parent''')
меняется значение в '''translate''', '''rotate''' каналах. На них тоже нужно ставить ключи при переключении парента, чтобы положение контрола сохранялось, относительно нового родителя. Если вы пользуется стандартным '''SetKey''' (горячая клавиша '''S'''), то это ставит автоматически ключ на все каналы контрола, включая '''translate''','''rotate''' и '''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.
 +
{|
 +
|-
 +
|[[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. <br>
 +
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'''.
 +
{|
 +
|-
 +
|[[File:dynamic_parent_key.gif|обрамить|слева]]
 +
|}
  
[[File:dynamic_parent_key.gif]]
+
== Delete Dynamic Parent ==
 
+
In order to delete constrant to one of the parents, click with Right Mouse Button on '''driven''' control('''child'''), and select Dynamic Parents=>Name of '''driven''' control, but you need to click on little square near the name. <br>
== Удаление Динамического Парента ==
+
Notice that if you have animation on parent attribute, that way of deleting will not work. You need to delete parent attribute animation first, using '''Channel Box''' context menu.
Чтобы удалить констрейн, щелкните правой кнопкой мыши щелкните на '''ведомом''' обьекте ('''ребенок'''), и выберете Dynamic Parents=>Имя объекта '''ведущего''' обьекта, но щелкнуть нужно не на пункте меню, а именно на квадрате рядом с ним. Обратите внимание если на parent аттрибуте есть анимация, то у вас ничего не получится. Нужно сперва удалить анимацию на нем, используется контекстное меню '''Channel Box''' чтобы удалить анимацию.
+
Recommend to use '''Delete Selected''', <br>
Рекомендуется использовать '''Delete Selected''', а не '''Break Connections''', так как второй оставляет висеть мусор в сцене.
+
not the '''Break Connections''', because '''Break Connections''' will leave garbage in the scene.
 
+
{|
 
+
|-
[[File:dynamic_parent_delete.gif]]
+
|[[File:dynamic_parent_delete.gif|обрамить|слева]]
 +
|}

Текущая версия на 08:31, 25 декабря 2019

Другие языки:
English • ‎русский

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

  1. Select in Maya driver control (parent)
  2. Do Right Mouse Buttin click on driven control (child) and in context menu select Dynamic Parents=> Add Selected.

This action will create contraint.

  1. 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.

Dynamic parent.gif

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 parent key.gif

Delete Dynamic Parent

In order to delete constrant to one of the parents, click with Right Mouse Button on driven control(child), and select Dynamic Parents=>Name of driven control, but you need to click on little square near the name.
Notice that if you have animation on parent attribute, that way of deleting will not work. You need to delete parent attribute animation first, using Channel Box context menu. Recommend to use Delete Selected,
not the Break Connections, because Break Connections will leave garbage in the scene.

Dynamic parent delete.gif