zhaoweihao

I can't find any demo of Inverse Kinematics base on libgdx or Android,And I don't know how to use IK in android or libgdx...
But my friend can find a html demo of IK and perform quiet well.

Need help...
zhaoweihao
  • Сообщения: 6

badlogic

That is indeed a bit of an omission! The general gist is that you simply set the position of the IK target bone based on e.g. the mouse or touch position.

I'll add a simple demo using our Spineboy for libGDX and the other runtimes to demonstrate this. You can follow this issue for progress: [runtimes] Add IK following demo · #1532
Аватара пользователя
badlogic

Mario
  • Сообщения: 2108

zhaoweihao

Thats good new! I will check and follow this link.
zhaoweihao
  • Сообщения: 6

badlogic

The libGDX demo has been added on the 3.8 and 3.9-beta branches. You can find the source code in IKTest.java, see spine-runtimes/IKTest.java at 3.8
Аватара пользователя
badlogic

Mario
  • Сообщения: 2108


Вернуться в Runtimes