Update Example: Positioning of Skeleton

Its better to set X and Y of the skeleton then setting X and Y of the root bone.
This commit is contained in:
AKnopf 2013-06-20 19:09:04 +02:00
parent ab5b88f73f
commit 0e17a170b6

View File

@ -78,8 +78,8 @@ namespace Spine {
state.AddAnimation("jump", false);
state.AddAnimation("walk", true);
skeleton.RootBone.X = 320;
skeleton.RootBone.Y = 440;
skeleton.X = 320;
skeleton.Y = 440;
skeleton.UpdateWorldTransform();
}