There is a bug in the last build of cocos2d (2.0.1).
Le’t assume there are two sprites P and C. P is scaled and C is its child. For example
P~~>setScale;
P~~>addChild©;
The child is scaled relative to its parent, i.e., C is 1/2 of its original size. Now if we run CCShaky3D on the child sprite then it returns to its original size.
You may reproduce the bug with HelloWorld project adding the next lines to HelloWorld::init
setScale(0.5);
pLabel->runAction(CCShaky3D::actionWithRange(1, true, ccg(1,1), 10));