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](4/11/2024)
Cubism Editor 5.1 alpha2 is now available!

We have incorporated some of your comments and suggestions. Thank you for your comments and requests!
We will continue to welcome your feedback on alpha2.

Download/ Manual and Update History
Options

How to derect location for differenct part of body.

Let say you have one human character and performing a animation.

Now How will you get the location of head of that anim character.

Is there any way to locate this typ of information from Live2D sdk.

learning Live2D integration in iOS platform

Comments

  • Options
    @jageen
    It's not possible to get the location directly, but you can calculate it. First you have to calculate the boundaries of the vertex positions of the part you want to get the location for. Then, you transform those boundaries into screen space using the by undoing the matrix you used for rendering the model.
    I think looking at the 'L2DBaseModel::hitTestSimple' found in the SDK sample 'SampleApp1' will serve as a start.
Sign In or Register to comment.