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

Материал из Voronezh.Studio Wiki
Перейти к: навигация, поиск
(Обновление для соответствия новой версии исходной страницы.)
 
(не показаны 4 промежуточные версии этого же участника)
Строка 1: Строка 1:
 
<languages/>
 
<languages/>
<div class="mw-translate-fuzzy">
 
 
<big>'''Dynamic Parent'''</big> - script that we use in our character rigs at '''Wizart Animation'''. <br>
 
<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.
 
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.
</div>
 
  
<div class="mw-translate-fuzzy">
 
 
* Allow make parenting constraints very fast
 
* Allow make parenting constraints very fast
 
* Allow seamlessly add more parents to existing constraint
 
* Allow seamlessly add more parents to existing constraint
Строка 11: Строка 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.
</div>
 
  
<div class="mw-translate-fuzzy">
 
 
== Creating Dynamic Parent ==
 
== Creating Dynamic Parent ==
 
# Select in Maya '''driver''' control ('''parent''')
 
# Select in Maya '''driver''' control ('''parent''')
Строка 20: Строка 15:
 
# Do Right Mouse Buttin click on '''driven''' control ('''child''') and in context menu select Dynamic Parents=> Name of '''driver''' control.  
 
# 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.
 
This action will do seamless switch.
</div>
 
 
{|
 
{|
 
|-
 
|-
Строка 26: Строка 20:
 
|}
 
|}
  
<div class="mw-translate-fuzzy">
 
 
== Animating Dynamic Parent ==
 
== 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,
 
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>
 
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'''.
 
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'''.
</div>
 
 
{|
 
{|
 
|-
 
|-
Строка 37: Строка 29:
 
|}
 
|}
  
<div class="mw-translate-fuzzy">
 
 
== Delete Dynamic Parent ==
 
== 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>
 
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>
Строка 43: Строка 34:
 
Recommend to use '''Delete Selected''', <br>
 
Recommend to use '''Delete Selected''', <br>
 
not the '''Break Connections''', because '''Break Connections''' will leave garbage in the scene.
 
not the '''Break Connections''', because '''Break Connections''' will leave garbage in the scene.
</div>
 
 
{|
 
{|
 
|-
 
|-
 
|[[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