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 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.

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.