Page 1 of 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.
- Posts: 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).
- Posts: 7697
Mark topic unread • Page 1 of 1
Return to Runtimes