Auto Generation of Sway Motion

Updated: 09/12/2024

This function automatically generates the movement of swaying objects such as small objects and hair.
You can adjust the degree of shaking on the dialog while viewing the generated movement, making the work of making shaking objects more efficient.

Supported shaking types

It supports the following two types of motion.

Hair SwayZ-angle Swing

If you create a complex rocking motion that does not fit into these categories, the motion may not be as intended.

In addition, this function applies transformation to the warp deformer containing Artmesh of the part you want to add movement to.
Therefore, shaking motion using rotation deformers is not applicable to this function.

Auto Generation of Sway Motion

Displaying the Settings dialog box

The following settings dialog can be displayed by selecting the [Modeling] menu → [Parameter] → [Automatically generate shaking motion].

NumberItemDescription
(1)deformer listDisplays a list of registered warp deformers. The warp deformer selected here will be subject to shaking deformation.
(2)Register warp deformerRegister the warp deformer selected in the modeling view to the list.
(3)ParametersSelect the parameter for shaking deformation.
(4)Synchronize selection with parameter paletteIf checked, this dialog and parameter selection in the parameter palette will be synchronized.
(5)Type of estimation

Estimate the appropriate shaking settings for the deformer and change the shaking settings.
You can choose from two types of estimation: [Hair swing] and [Generate drooping based on angle Z].

(6)fulcrum position

You can change the position of the fulcrum of shaking.
You can select from four options: [Top], [Bottom], [Right], and [Left].

(7)Reverse the shaking left and rightIf checked, the direction of the generated shaking will be reversed left and right.
(8)Adjusting shaking settings

Adjust the degree of shaking deformation.
An explanation of each setting value will be given later.

(9)Synchronize left and right side setting values

If checked, the settings for the left key form and right key form in [Shaking deformation adjustment] will be synchronized.

This is checked by default, so uncheck it if you want to create an asymmetrical shaking deformation.

(10)Automatically update key form when setting values ​​are changed

If checked, the key form will be automatically updated every time the setting value is changed.

This is checked by default.

(11)Update key formClick the [Update key form] button to calculate the shape of the shaking deformation from the current settings and actually update the key form.

Operating procedure

1. Select the deformer you want to add shaking motion to in the view and click [Register warp deformer] from the dialog to register it to the deformer list.

2. Select the parameter for which you want to add shaking motion from the parameter combo box.

3. Select the [Estimation type] from Estimate the shaking setting value.

4. In [Sway settings], you can change the setting value by sliding the bar.
After making changes, click [Update key form] to reflect the shaking deformation on the key form.

If [Automatically update key form when settings are changed] is checked, the key form will be automatically updated when settings are changed.
Since it is a modeless dialog, you can adjust the shaking deformation while checking the movement by manipulating parameters and views in the main window.

You can also set multiple deformers at the same time.
If the selected deformer has a different shake setting value, the value of the first deformer will be displayed in green.

Notes

About automatic key generation

When applying shaking deformation, if the target parameter has no key or a number of keys other than 3, a confirmation dialog will be displayed.
 ・If you select [OK], the existing key will be deleted and three new keys will be generated.
 ・If you select [Cancel], the existing keys will remain as they are and the shaking deformation will not be reflected.

Right-click menu

When you right-click on [Deformer List], the following menu will be displayed.

ItemDescription
Sync selection with viewIf checked, the selection state of the settings dialog and canvas will be synchronized.
display

Change the list display method.
If checked, you can set whether to display the object’s “name” or “ID”.

Copy settingsCopies the settings of the [Shaking settings] of the selected object.
Paste settingsPastes the contents copied using [Copy Settings] to the selected object.
Delete settings

Deletes settings related to automatic generation of shaking motion for the selected object.
Objects whose settings have been removed will disappear from the deformer list.

Effect of each setting value on adjusting the shaking settings

NumberItemDescription
(1)Size of shaking (horizontal)Set the amount of horizontal shaking.
(2)Size of shaking (vertical)

Set the amount of vertical shaking.
By setting the value smaller than 0, you can create a downward pulling motion.

(3)Softness

You can adjust the way the top and bottom of the deformer swing.
If you increase the value, the top part will hardly move, and only the bottom part will shake.

(4)Enlarge/shrink

You can perform transformations such as enlarging or reducing the width of the deformer.
If it is larger than 0, it will expand, and if it is smaller, it will shrink.

Tips

Regarding the size of shaking (horizontal) and the size of shaking (vertical), appropriate values ​​are automatically estimated according to the information (size, etc.) of the target deformer and are used as initial values.

In addition, for deformers and parameters that have created shaking once, when you run the automatic generation of shaking motion again, the setting values ​​from the last time you created shaking will be displayed as the initial values.
This setting is retained even if you reload the model.

About AI technology

This function uses AI technology to estimate a reasonable amount of deformation from information such as the position and size of the target deformer.

Among the works submitted to “nizima“, we use the works for which we have permission to use them for AI research as learning data.
For more information, please see “Live2D AI Research Policy and Request for Cooperation.

 

Was this article helpful?
YesNo
Please let us know what you think about this article.