Dear Users,

Now, we are seeking users who can give us a hand with expertise to evolve our software more dynamically.
If you are willing to help us, we’d like you to make a registration for “Live2D Creators Circle” via the link below.
Designers, programmers, translators are especially welcomed so far.
(More detailed explanation will be given to you before we ask you to do tasks)

https://docs.google.com/forms/d/1G5KK_GL3ozwPXtTHrpi_ktbsI8UZf8jlYRSlDworyBo/viewform?usp=send_form

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

  • @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.