Hi,
I'll excuse myself by saying I'm new to cocos2d.
Ok, this is my setup:
I have a MovingLayer and a RotationLayer.
MovingLayer is a child of RotationLayer.
MovingLayer moves x-1 every frame.
The RotationLayer responds to the accelerometer by following it's z roll.
My problem is, as MovingLayer moves, the point of rotation in the RotationLayer moves with it, so after a few frames the point of rotation is no longer the centre of the screen.
Can anyone give me an idea of what I need to do to keep the point of rotation in the centre of the screen when moving children of a layer that rotates?
I hope that makes sense, thanks for your time.
Jayson