How to change anchorpoint and don't change the position??
I have a sprite which has anchor 0,0.
However, I would like to change anchor 0.5,0.5 temporary,because I would like to rotate the sprite.
What I want to do is like this.
CGPoint anchorPointOriginal = ccp(0,0);
CGPoint anchorPointTemp = ccp(0.5,0.5);
[mySprite setAnchorPoint:anchorPointTemp];
//Rotate
[mySprite setAnchorPoint:anchorPointOriginal];
But when I change the anchorPoint, sprite also moves the position according to the new anchorpoint
Is it possible to keep the sprite position and only change the anchor point??