Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[About macOS Sonoma 14.4] (Updated March 18, 2024)
It has been confirmed that the macOS Sonoma 14.4 update contains a bug that causes Java processes to terminate unexpectedly on Apple M series Macs.
As this may also affect the operation of Live2D Cubism Editor on such devices, we recommend that you refrain from updating macOS until the issue is resolved.

How to start 2 animations in Unity at same time?

edited December 2023 in Help
Good evening.
I would like to know whether it is possible to play 2 animations for a single character at the same time. For example, if there is a big number of facial expression and body positions, is it possible to create transition animation automatically between all of them? When I try to use the MotionQueueManager, the first animation stops. I can only play one animation at a time.

Comments

  • @MacKot

    If you want to play back multiple motions at a time, you need to create multiple 'MotionQueueManager's. Here's how you could do it:
    MotionQueueManager motionMgr1, motionMgr2;
    
    // Play motion.
    motionMgr1.startMotion(motion1);
    motionMgr2.startMotion(motion2);
    
    // Update parameters.
    motionMgr1.updateParam(live2DModel);
    motionMgr2.updateParam(live2DModel);

    Please be aware, however, that, whenever multiple motions affect a single parameter, the value of the last motion will be used.
Sign In or Register to comment.