[About macOS Sequoia] (Updated October 22, 2024)
Live2D Cubism Editor 5.1.02 now supports macOS Sequoia.
Other Live2D Cubism products currently released are not guaranteed to work on macOS Sequoia.
Please refrain from upgrading macOS, as it may not operate properly.
Use CubismMotionController Play Multiple Motion
Scene:
Layer 0 : Loop Play idle motion
Layer 1 : Play other motion
Every Play other motion , will cause idle motion state exception
0 ·
Comments
Thanks for using our products.
The procedure to play multiple animations is as follows
1. increase the number of Layers in CubismMotionController.
Pass the index of the layer whose motion is to be played as the second argument of CubismMotionController.PlayAnimation().
However, if there are duplicate parameters referenced in the AnimationClip, they will be overwritten by the values of the parameters to be played back later.
Therefore, set keys only on the necessary parameters to avoid interference between Cubism motions to be played back.
Best regards.
I've tried what you're saying and there's still a problem
Later I found that when playing other animations
Trigger CubismFadeController->OnLateUpdate->RestoreParameters
Only one frame will appear Exception
You can use CubismMotionController play multiple motion
if used Animator play multiple motion, not appear exception
We could not verify the reproducibility of the phenomenon.
For verification purposes, could you please provide us with a minimal project that reproduces the phenomenon?
Please upload your project below.
https://biz.datadeliver.net/posts/LZ1bQTYm7tcb
Best regards.
Thanks you answer
I've found the cause of the problem.
example: two simple motion
rotate and move
use CubismMotionController play multiple motion
1. layer 0 loop play rotate motion
2. layer 1 Interval play move motion
If move motion the scene fade in and out is set to 0 seconds, There is no problem
If not set, There will be problems