Issue:
http://code.google.com/p/cocos2d-iphone/issues/detail?id=667
I would like to discuss what would be the expected position of an sprite when it is parented to another sprite. Please, don't take into account the current behavior.
Example:
Sprite A is positioned at (100,100), and it has an anchor point of (0.5, 0.5)
Sprite B is a child of A, and has an anchor point of (0.5, 0.5).
If the position of B is (0,0), where do you expect it to be placed ?
I expect that the world coordinate of B would be (100,100), the same of it's parent.
I expect that B's position to be relative to the parent's anchor point.
What do you think ? Should the parent's anchor point be taken into account ? ideas ?
In cocos2d-python we solved it by adding the "children-anchor-point" property. It is a possibility, but I'm not convinced about it.
Does anyone know how CoreAnimation's Layer work regarding this issue ? It has children and anchor point, but I don't know how they are placed.


