Hi,
I’ve got a mutable array of sprites which get added to a layer.
When i rotate the layer with setRotation the sprites move as expected, but when i read out the position of those sprites from the mutable array in the update fuction, it reads the initial possition the sprites had before the rotation.
Below is how i added the sprite to the layer first and then to the array.
gameLayers->getObjectAtIndex(gameLayer)->addChild(target);
targetArray->addObject(target);
What do i need to do in order to read the new position the sprites got after their layer was rotated?
Thanks