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

Question : Looping & Not Looping a Motion (.mtn)

RusRus
edited February 2016 in Help
If this is how you loop a mtn:

---------------------
[ inside load function: ]
Simple.loadBytes(modelDef.motion, function(buf){
motion = new Live2DMotion.loadMotion(buf);
});

[ inside periodic draw function: ]
if(motionMgr.isFinished()){
motionMgr.startMotion(motion);
}
motionMgr.updateParam(live2DModel);
---------------------

How do you play a motion only once? (ie: not looping)

Thanks in advance)
Tagged:

Comments

Sign In or Register to comment.