Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

If you have any questions, reports, suggestions, or requests about Live2D, please send them to this forum.
※We cannot guarantee statements or answers from Live2D staff. Thank you for your understanding in advance.
 
Live2D Cubism
Cubism Products and Downloads
Cubism product manuals and tutorials
Cubism Editor Manual    Cubism Editor Tutorial    Cubism SDK Manual    Cubism SDK Tutorial
[INFORMATION](03/28/2024)
Cubism Editor 5.1 alpha version is now available!
Find out how to use the new features here.
Please take this opportunity to use it and give us your feedback!

For more information and download, please check out the Cubism Editor 5.1 alpha category.

Why Drawable Vertices always change?

Hi there,it's me again.Thanks for official support for my last question, I have implemented playing sound in java.

Now I'm working on HitTest,as I have add HitArea,sometimes it works.

But when I log the DrawableVertices,the final left,right,top and bottom vertices are different from last hit.

So sometimes hitTest will return false.

Could you please advise how to avoid vertices change?

Comments

  • Hello, @nevermoreberry
    Thank you very much for your patronage of our products.

    You said
    But when I log the DrawableVertices,the final left,right,top and bottom vertices are different from last hit.

    Does this mean that the Live2D model is animating and the Hit Area is moving along with it?
    If this is the case, you may be able to solve it by disabling the motion data of the Live2D model, or by separating the Hit Area from the deformer.

    hope that helps!
Sign In or Register to comment.