CrazyFlasher

in Spine I have a char animation where root bones changes potions.
In Spine editor everything is fine in this case and I can see, how root bone changes position during animation.

But when I run exported project in starling, I can see, that root bone doesn't change it position.
During animation character changes postion according root bone and root bones remains on the initial position.

I've traced the root bone posion (worldX, worldY) and it seems to be fine (line in Spine editor), but visually it stays on the same place.

I can attach videos if needed.
CrazyFlasher
  • Mesajlar: 10

CrazyFlasher

Strange behaviour I've noticed.
If I call
skeleton.flipX = true;
then root bones position updates fine
(but of course character is flipped then)

Demo link: https://dl.dropboxusercontent.com/u/133 ... index.html
CrazyFlasher
  • Mesajlar: 10

Nate

Strange. Not sure what might cause this really.

I don't know if you are, but you shouldn't use the root bone to position you character on screen. It is fine to use during an animation, eg to keep the feet on the ground, but you should use skeleton x/y to set the position of the entire animation on the screen.
Kullanıcı avatarı
Nate

Nate
  • Mesajlar: 12032


Dön Runtimes