Physics and Scene Blend Settings

Updated: 11/29/2022

The [Physics and Scene Blend] settings include two setting screens: [Physics] and [Scene Blending].
The settings screen can be switched using tabs.

How to Switch Settings Screens

Click on the tabs in the red framed area of the image to switch screens.

Physics settings screen

Set up the physics calculation settings for hair swaying, clothing swaying, and so on.
See the “Physics Settings” page for a detailed explanation of physics settings.

Scene blend settings screen

Scene blend settings allow you to play back scenes created with animation files.
In addition, multiple scenes can be blended together for playback.
See the “Scene Blend Settings” page for a detailed description of scene blend settings.

Screen Configuration for Physics and Scene Blend Settings

NumberItemDetails
(1)MenuThis is a menu item in the [Physics and Scene Blend Settings] dialog box.
(2)Playback barThis shows the playback status of playlists set in scene blending, fades during scene transitions, and FPS settings.
(3)Parameter listThe parameters that have already been created for the model are listed.
During cursor tracking and scene playback, the parameter values are reflected on the sliders in real time.
If Physics is enabled, the calculated results are reflected on the sliders in real time.
(4)View areaThe model for which the physics calculation is configured is displayed.
Background color and display magnification can be changed from the bottom of the View area.
Use [Space] + drag to move the canvas.

Menu

Edit menu

ItemDetails
UndoRestores the state immediately before the last operation.
Shortcut key [Ctrl] + [Z]
RedoExecutes the operation performed before going back one step.
Shortcut key [Ctrl] + [Y]

Physics menu

ItemDetails
Import Physics settingsLoad the physics3.json file.
Export Physics settingsWrite out the physics3.json file.
See the “Data for Embedded Use” page for a detailed explanation of exported data.

For FPS information:
FPS information will be exported only when a confirmation dialog box appears and [Yes] is selected.
Import PresetsImport the input and physical model setting presets.
Export PresetsExport the input and physical model setting presets.
Initialize input presetsInitializes the input preset. Please note that the custom presets you have created will also be deleted.
Initialize physical model presetsInitializes the physical model preset. Please note that the custom presets you have created will also be deleted.
Initialize FPSInitializes the list of calculated FPS.

Scene blending menu

ItemDetails
 Settings of the cmo3-can3 linkageSet the linkage settings for the animation file (can3) to be loaded into scene blending.
See the “How to Set Scene Blending” page for details on the linkage settings.
Tips

In the settings of the cmo3-can3 linkage, it is not possible to load multiple can3 files at the same time.
For example, scenes in separate can3 files, such as “Expression.can3” and “Motion.can3,” cannot be combined for playback.
Prepare scenes within the same can3 file for the facial expressions and motions you want to combine in scene blending.

Preview menu

ItemDetails
Setting up collision detectionWhen checked, the set collision detection will be visualized with a red frame.
See the “Preparation for Setting Up Collision Detection” page for more information on the collision detection settings.
Cursor trackingWhen checked, the model will follow the cursor when dragging on the View.
Note: Operates during scene playback.
The direction and parameters for tracking can be set in [Cursor Tracking Settings] described below.
Automatic Eye-blinkingWhen checked, the model will blink automatically.
Eye blinking is applied to the parameters set for eye blinking in the model’s [Settings for Eye Blinking and Lip-sync].
BreathWhen checked, the model will breathe automatically.
Breath applies values to parameters whose parameter IDs are “PARAM_BREATH” or “ParamBreath.”
Cursor tracking settingsImpact (%):
The degree of influence can be set to affect the movement of the parameter.
A stronger setting will result in a larger movement, while a weaker setting will result in a smaller movement.

Reflect: The cursor tracking is inverted.

Type:
Set the type of parameter you want the cursor to follow.
• In the case of left mouse dragging
(Left mouse X: horizontal movement, Left mouse Y: vertical movement)

• In the case of right mouse dragging
(Right mouse X: horizontal movement, Left mouse Y: vertical movement)

Cursor tracking settings are saved in the model data (cmo3) but are not exported to the embedded data.
If you want the cursor to follow when embedding, configure the settings on the SDK side.

Note: The cursor tracking setting can also be checked in [OW Viewer].
Random pose settingsOpens the Random Pose Settings dialog box.
See the “Random Pose” page for details on operations and settings.
Recording settingsYou can select where to add scenes generated by the [Record] function.

Generate new animation data:
Create new animation data (can3).

Add to current animation data:
Add a scene to the animation data (can3) currently associated with it.

Help menu

ItemDetails
 Physics and Scene Blend Settings Open this page.

Playback Bar and View Area

Playback bar

NumberItemDetails
(1)Enable PhysicsUnchecking the box temporarily turns off the Physics setting.
See the “Physics Settings” page for more information on the Physics Settings Editor.
(2)Playlist SelectionPlaylists created on the Scene Blend Settings screen can be selected.
(3)Scene SelectionA scene from the selected playlist can be selected.
The following movements can also be confirmed.
• Random A
• Random B
• Random Pose
(4)PlaybackPlay the selected scene.
(5)RepeatWhen enabled, the scene playback is repeated.
(6)Constantly ReplayWhen enabled, all scenes in the playlist are played back continuously.
(7)Shuffle playbackIf Shuffle playback is enabled while Constantly Replay is enabled, all scenes in the playlist will be played randomly.
Note: [Random A], [Random B], and [Random Pose] are excluded.
(8)Video recordingRecords the state of the View and generates a scene.
Recorded scenes are generated after the [Physics and Scene Blend Settings] dialog box is closed.
(9)Recording settingsYou can select where to add scenes generated by the [Record] function.
(10)FadeWhen repeat playback or constantly replay is enabled, a fade can be applied during scene transitions.

None:
Transitions to the next scene without fading.

Linear:
After the scene is played, a linear blending transition is made between the model state and the next scene during the scene’s fade time.

Easing (2.1 method):
After the scene is played, during the fade time of the scene, a curved blending transition is made between the state of the model and the next scene.
Blending can be set not only between motions, but also individually for each parameter.

Easing is applied to the weight when blending, resulting in a smooth transition impression.
Note: Unity can also disable Cubism fades.
(11)Fade time (ms) adjustmentWhen fade is enabled, you can set the time to apply the fade. (1 second is 1000 ms)
(12)Calculate FPSSets the frame rate at which physics operations are performed.
You can choose from the following four FPS settings.
15 / 30 / 60 / 120

Also, entering a numerical value allows the FPS to be set to a desired value and saved in the list.
To reset the list to its initial state, use [Initialize FPS] in the Physics menu.

By creating physics settings that match the FPS of the scene being used, it is possible to reproduce the scene without any sense of discomfort.

For calculate FPS:
FPS information is set in the model file by opening [Physics and Scene Blend Settings].
(The value of [Calculate FPS] will also be set in the model file at the time it is changed.)

FPS information is now stored in the model file starting with Cubism Editor version 4.1.02.
Model files created prior to 4.1.01 may not have FPS information set.
See the “SDK Compatibility with Cubism 4.2 Features” page of the SDK manual for more information on setting FPS information for model files.
 

Notes on Unity fades:
Mecanim in Unity uses the concept of layers to further blend the results, including motion fades.
Playback results in the Viewer are not a perfect reproduction of the Unity mechanism, so playback results may vary. 

Parameter list

NumberItemDetails
(1)Restore parameters to default valuesClick to return the parameters to their default values.
(2)ParametersThe parameters that have already been created for the model are listed.
During cursor tracking and scene playback, the parameter values are reflected on the sliders in real time.
If Physics is enabled, the calculated results are reflected on the sliders in real time.
You can also directly move the sliders of the parameters set in the [Input Settings] to check the degree of shaking of the physics operations you have set.

View area

Use [Space] + drag to move the canvas.

NumberItemDetails
(1)Background color settingYou can change and adjust the background color and opacity of the canvas.
(2)Display MagnificationThe current canvas display magnification is shown in %.
(3)Zoom InEnlarge the canvas.
(4)Zoom OutShrink the canvas.
(5)OverallDisplay the entire canvas.
(6)CenterCenter the canvas.
(7)Full Scale Set the display magnification to 100%.
Please let us know what you think about this article.