[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.
Unity Hit-area motion Help
Hello
I am new to using live2D and am practising using a file from the Live2D library in Unity.
In Unity I don't know how to get the Hit area motion responses to work, do I use any of the scripts under SampleApp1? (some of the scripts give alerts about being Abstract or not in Monobehaviour).
I have managed to get the model to be viewed in unity, and by making an EventSytem using script 'MyGameController.sc' I can make the model look at and follow the left-click of a mouse, but I haven't been able to get anything more than this to work.
Any help would be appreciated
0 ·
Comments
I think that it does not move even SapmleApp1 to be displayed .
Please refer to the following document to give hit determination .
◆02. model there is a collision detection
Thanks
I can get the hit determination to appear in Live2D viewer.
But I still don't know how to interact with the hit-areas in Unity.
[LAppModel.cs] TabEvent()
If impassable here should motion is played.
tapEvent view x:0.1089591 y:-0.2944087
UnityEngine.Debug:Log(Object)
LAppModel:TapEvent(Single, Single) (at Assets/Scripts/sample/LAppModel.cs:462)
LAppView:TouchesEnded(Vector3) (at Assets/Scripts/sample/LAppView.cs:166)
LAppModel:TouchesEnded(Vector3) (at Assets/Scripts/sample/LAppModel.cs:500)
LAppLive2DManager:TouchesEnded(Vector3) (at Assets/Scripts/sample/LAppLive2DManager.cs:142)
MyGameController:Update() (at Assets/Scripts/sample/MyGameController.cs:55)
I have never used Unity before.
Run SampleApp1 in Unity.
When Live2D Model is tapped in Unity GameView, LAppModel.cs will go through the TapEvent processing .
I just wanted to see whether it went through this part processing correctly .
In TapEvent processing is StartRandomMotion process is called , where the motion is played .
Can you confirm that you are through the TapEvent is going through in Monodevelop or Visual Studio Debug ?