メインシーンに追加されたレイヤー上にある画面の中央にある円を回転させようとしていますが、中心を中心に回転するのではなく、天使の中で奇妙な方法で上下に回転します。画面の左下隅を中心に回転しているようです。
id rot1=[CCRotateBy actionWithDuration:0.4 angle:10];
id rot2=[CCRotateBy actionWithDuration:0.4 angle:-20];
id rot3=[CCRotateBy actionWithDuration:0.4 angle:+20];
id rotB=[CCRotateTo actionWithDuration:0.2 angle:0];
id seq=[CCSequence actions:rot1,rot2,rot3,rot2,rot3,rot2,rotB, nil];
[mainButton runAction:seq];
ここで何が問題なのですか?ありがとう 。