[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.
Hi! i just started using the live2D and executed it in unity. It is now actually working, but my problem is that i can't understand how the codes work. Especially on the part of playing a specific motion / expression and i want to know how to trigger a specific part of the body, for instance i want to poke the right eye it should definitely blink right? Thank you! btw, we're enjoying using live2D
0 ·
Comments
Have you checked the English tutorials by evangelist Katheirne?
http://live2dofficial.tumblr.com/tutorials
https://sites.google.com/a/cybernoids.jp/cubism_e/sdk_tutorial/live2d_library/load_to_display/cd
Looks like you are using SampleApp1 for Unity. And you should be able to create an event by following steps:
1. Set up a blank drawable object as a collider (see the page)
2. Specify the collider name (drawable object ID) under “hit_areas” in a json file. (like “eye”)
3. Set collide detection in LAppDefine like
public const string HIT_AREA_EYE="eye";
4. Add an event for tapping on the eye in TapEvent in LAppModel
if (LAppDefine.DEBUG_LOG) Debug.Log("tapEvent view x:" + x + " y:" + y);
if (HitTest(LAppDefine.HIT_AREA_HEAD, x, y))
{
// Change facial expression when tapping on face
if (LAppDefine.DEBUG_LOG) Debug.Log("Tapped face");
SetRandomExpression();
}
else if (HitTest(LAppDefine.HIT_AREA_BODY, x, y))
{
if (LAppDefine.DEBUG_LOG) Debug.Log("Tapped body");
StartRandomMotion(LAppDefine.MOTION_GROUP_TAP_BODY, LAppDefine.PRIORITY_NORMAL);
}
else if(HitTest(LAppDefine.HIT_AREA_EYE, x, y))
{
// Write action when eye is tapped
}
return true;