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
[INFORMATION](03/28/2024)
Cubism Editor 5.1 alpha version is now available!
Find out how to use the new features here.
Please take this opportunity to use it and give us your feedback!

For more information and download, please check out the Cubism Editor 5.1 alpha category.

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.