I am using Cocos2dx 3.0rc1.
I was trying to set up an armature (animation and everything imported from cocostudio) but i was having issues with a weird offset.
In the end i used:
armature->setAnchorPoint(Point(0.5, 0.5));
That fixed it.
I thought by default anchor points were set to (0.5, 0.5). Why are the armatures different???