If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
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.
Thanks you answer 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
@yasu.o@live2d 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
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