[About macOS Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details[NOTICE]
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to
System Requirements for details.
We will not respond to any related inquiries with this message.
How to stop a motion and play another?
i use sampleapp1 as the sample project.
when i play in unity with my own model, idle motion was the first motion that started.
i click the model then another motion playing successfully.
my problem is: it cant be stop and cant back to idle motion.
is there setting of motion i missed in live2d viewer or mybe in live2d animator? could you help me please?
thank you very much
0 ·
Comments
[Scripts/sample/LAppModel.cs] If you specify the motion you want to play in the model.json, it will be played in random.
[model.json] Because to be processed in the following order , try to debug in IdleMotion Start.
1. IdleMotion Start → LAppModel.cs Update()
2. TapEventMotion Start → LAppModel.cs TapEvent()
3. IdleMotion Start → LAppModel.cs Update() ※ Only when the motion is finished.
or add lappmodel.cs Update() into TapEvent()?
sorry im new for C# user. its difficult to understand
So, modification of the program is not required.
Please check the mainMotionManager.isFinished() that is in the public void Update().
Then, you can detect whether you are idle motion is being played.
Then, StartRandomMotion is to run the idle motion.
In other words, please confirm that this is running correctly.
Another reason for the idle motion is not played, the setting of model.json might bad.
it was ran correctly
now my model work!
i found my setting of model.json was wrong.
if i have any problem i`ll ask you again
thank you very much for your help