Страница 1 из 1
Hello everyone. I call setAnimation and after that i calling findSlot and it return me Slot with 0,0 coordinates. But after some time passing findSlot return me correct coordinates. I try force calling Update method of SkeletonAnimation but cooridanates a wrong too. How i can return correct coordinates of Slot immediately after animation creation? Thx.
- Сообщения: 10
Slot's don't have a position. Do you mean bone? If you set or add an animation to your AnimationState, you need to apply it to your skeleton. If you don't, the skeleton will not have been posed by the animation until the next frame (SkeletonAnimation applies the AnimationState every frame).
- Сообщения: 7767
Mark topic unread • Страница 1 из 1
Вернуться в Runtimes