Hi to all,
I hope some of you can give me a clue:
What is the best practice for defining reference or special points on a CCSprite, so when I move or rotate the sprite the dedicated points are moving along with it, and their position can be accessed.
For example: I have a sprite that can be linked to another sprite lets say with a chain or something. The chain can be linked only to 4 dedicated points inside a sprite, the sprites are moving, how can I track the "anchor-points"?
Do I have to subclass the CCSprite and calculate the position of my points by myself or is there something similar in cocos/box2d?
Any help is much appreciated...