[Spine] Animation setRotation error - cocos2dx 3.17

[Spine] Animation setRotation error - cocos2dx 3.17
0

#1

Hi,
I try to setRotation a spine animation but it’s not working fine.
when setRotation(0)


when setRotation(90)

This is my code

var skeletonNode = sp.SkeletonAnimation.createWithJsonFile(“spine/goblins-pro.json”, “spine/goblins.atlas”, 1.5);
skeletonNode.setAnimation(0, “walk”, true);
skeletonNode.setSkin(“goblin”);
skeletonNode.setAttachment(“left-hand-item”, “dagger”);
skeletonNode.setRotation(90);
skeletonNode.setScale(0.5);
var winSize = cc.director.getWinSize();
skeletonNode.setPosition(winSize.width / 2, 100);
this.addChild(skeletonNode);


#2

I tested some animations so setRotation just working good with mesh attachment.