@alvinlin123
In the 3D world, models are positioned and rotated based on the origin of your model's vertices (ie- (0,0,0) in your model's local coordinate system).
This is defined by how you lay the model out in your 3D editor.
For example, the CC3DemoMashUp demo app contains many different models. The vertices of the beachball are arranged so that (0,0,0) is in the center of the ball (which makes sense for a ball). The vertices of the teapot are arranged so that (0,0,0) is at the center of the bottom of the teapot (I guess so that it can easily be made to "sit" on a tabletop or something). So these two models will rotate differently.
In cocos3d, to define a different rotation or location origin, create a CC3Node and add your model node to it as a child node. Set the location of the child node to an offset that will move the point on the child that you want to rotate around to the local origin of the parent CC3Node.
Taking the teapot as an example, if the center bottom of the teapot is (0,0,0) and the center top of the teapot has a vertex (0, 1, 0), then if you set the location of the teapot as (0, -0.5, 0), and add it to another CC3Node, the center of the teapot will now be at the origin of the parent CC3Node.
If you will be applying scaling, do this in the native scale of the child (teapot), and then perform any scaling you need to do using the parent node. Don't scale the teapot, scale the parent CC3Node, so that the teapot always stays the same relative to the parent.
Now, rotate the parent node, which will rotate around its own origin, and will carry the teapot with it as it rotates. Since the teapot is positioned so that its geometrical center is at the origin of the parent node, the teapot will rotate around its geometrical center now.
You can use the same technique for rotating any object, including lights and the camera. This technique is also used for making orbiting cameras, by using a parent CC3Node as a "boom" and locating the camera somewhere on the boom and then rotating the boom. The parent boom node will rotate around its origin, and carry the camera, which is located away from the boom's origin around with it as it rotates. In the CC3DemoMashUp, this is how the rainbow teapot rotates around the textured teapot. For fun, you can try replacing the rainbow teapot with the camera and see what happens.
...Bill