I’m trying to flip a sprite on the Y axis and having trouble. Flipping it on X axis works fine, but using Y axis doesn’t produce the correct results.
If I do this, it rotates smoothly around the X axis just fine…
CCOrbitCamera* orbit = CCOrbitCamera::actionWithDuration( 2, 1, 0, 0, 360, 0, 0 );
pSprite->runAction( CCRepeatForever::actionWithAction( orbit ) );
But now if I do this, to do the same spinning repeat around the Y axis instead, it seems to just flop back and fourth and doesn’t spin correctly.
CCOrbitCamera* orbit = CCOrbitCamera::actionWithDuration( 2, 1, 0, 0, 360, 90, 0 );
pSprite->runAction( CCRepeatForever::actionWithAction( orbit ) );
Am I doing something wrong or is there a bug?