Unreal Engine Plugin for integrating Live2D Cubism Native SDK into Unreal Engine
Feature | Supported |
---|---|
Moc3 File Import | Yes |
Model3 Json File Import | Yes |
Physics3 Json File Import | Yes |
Motion3 Json File Import | Yes |
Expressions3 Json File Import | No |
Moc3 Model Display | Yes |
Motion System | Yes |
Physics System | Yes |
Expressions System | No |
Custom Asset Editors | Yes |
Utility functions for UMG Image to display model | Yes |
- Copy the plugin into your Project into the folder <ProjectRoot>/Plugins/UELive2D/
- Download the Live2D Cubism Native SDK
- Copy the Dll/Lib folder from the Live 2D Cubism Native SDK intp the folder Source/ThirdParty/Live2DLibrary/Core
- Export your model for Unity
- Remove the .json file ending of all your created json files, otherwise Unreal Engine will get confused
- Drag and drop the .model3 file into your content browser, and the system will generate all the assets needed
- Have your model imported
- In the Graph of the UMG Widget call the function SetBrushFromLive2DModelMotion with the UMG Image and the Motion that should be displayed.
- It is best to save the model motion into a variable, especially for the follow up steps
- In Construct don't forget to call StartMotion on your Model Motion.
- In Destrcut don't forget to call StopMotion on your Model Motion.