Rotating a cocos2d sprite on an anchor point outside of the sprite

Posted by user309030 on Stack Overflow See other posts from Stack Overflow or by user309030
Published on 2010-05-22T08:03:06Z Indexed on 2010/05/22 8:10 UTC
Read the original article Hit count: 414

Filed under:
|
|

Currently the setanchor function only sets the anchor within the sprite frame. Is there any (easier) wway to change the anchor point to a coordinate on screen space? My purpose is to allow the sprite to rotate around a circle.

TIA for any suggestions made.

© Stack Overflow or respective owner

Related posts about cocos2d

Related posts about sprite