So I’m trying to setup an object in between my own and the Node of cocos2d which will upon initialisation set the anchor point according to my wishes. I want to be able to switch it around such that when I add children to my game area I want my origin to be in the middle bottom of the area itself.
In other cases I want it in the centre, for the balls or the obstacles that I create.
I can’t seem to move the anchor point much though, so I wonder how it’s all tied together. Some of these extended nodes will also have physics bodies. Is the AnchorPoint dependent on ContentSize? Because some of my nodes don’t have any content per say, other than being a parent to their children.