[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
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements
We will not respond to any related inquiries with this message.
How to mix live2d animations and Unity particle effects?
I'm Cheng-J, a project manager of a mobile game studio from west china.
we have made a demo with live2d and unity, and we are now trying to add
some unity 3d Particle effect in the live2d animation.
when the role in the live2d animation opened her eyes, it shows our unity 3d Particle effect
such as some star effect;
And when the role closed her eyes, it will remove the Particle effects from the role's eyes smoothly.
we have no idea of how to do it by using live2d and unity technology, so we turn to you for help.
Although particle generation timing is reversed.
I tried to make in the following environments .
As the source code below.
- Unity 4.6.5f1
- Live2D Unity SDK 2.0.08_1 → sample/Simple [Live2D Unity Project]
- ParticleSystem → [Assets]-[Import Package]-[Particles] - Sparkle Rising(prefab)
[SimpleModel.cs] If you're using a motion file (.mtn), you can get in the eyes of the opening and closing parameter values in the following code.
But, when I downloaded the gif image you upload( only 56kb ), I just see a static gif and it's not a gif animation, so I've no idea of what you want to show to me. I'll be very happy if you would upload your gif animation again.
The problem we met is How To Adding Particle effect into live2d animation's different image layers and it's not simply putting Particle effect file into live2d.
Actually what we want to is adding the Particle effect between the live2d eyes' image layer, and the live2d eyelids' image layer, but we do not know how to do that.
could you help us to solve this question?
I'm sorry , detailed description had been lacked.
Previous code is an example that displays the particle in front of Live2D model.
It might be difficult to display the particles between the eyes and eyelids of layer .
One way , we will replicate the GameObject of Live2D model .
The replicated Live2D model hides the parts other than the eyelids .
I think that it can be put a particle between the eye and eyelid if this method .
The best way is to draw the eye effect at the time of Live2D modeling rather than Unity development.
we choose to use particle effect instead of drawing effect directly in live2d because we desired the best performance of our animation, and that's why we choose live2d too.
we want to add an even sharper twist in our demo application to make the performance looks much more perfect such as beautiful ear-rings flickering in girl's hair with some impressive effect, some teardrops or hearts in girl's eyes which will disappear follow the eyelids' closing, and some hair or the girl's bang flutters along the wind with some special lights or other effect around it.
You've already show us a method and we've tried. It's perhaps a bit difficult and complicated for us now, and this method will take lot of our time to replicated and adjusted the live2d model that is not accepted by us.
It seems that we had to choose draw some effect in live2d images and model it, and then add some particle effect above or below live2d layer.
anyway, thanks very much @naotaro.
float points = live2DModel.getTransformedPoints(drawIndex);
I can get the points from the getTransformedPoints(), but how to transform the points into screen coordinate system?
I don't know how to access the coordinate system.