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

Материал из Voronezh.Studio Wiki
Перейти к: навигация, поиск
Строка 29: Строка 29:
  
 
== 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. 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.
+
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.
 
Recommend to use '''Delete Selected''', not the '''Break Connections''', because '''Break Connections''' will leave garbage in the scene.
 
Recommend to use '''Delete Selected''', not the '''Break Connections''', because '''Break Connections''' will leave garbage in the scene.
 
{|
 
{|

Версия 08:27, 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