CCOrbitCamera axis question

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?

anyone have any help for this? Thanks.

Which platform are you working on?
I just modified the params in ActionTest.cpp, ran and viewed ActionTest -> OrbitCamera action, it spinned well on ios 5.0 sdk + iphone 5.0 simulator.

same platform as you. 5.0. Do you mind posting your changed code that made it work? Why doesn’t it work for my code above?