def=rotates a model about each of the three world axes

Flash3DInstance..model[modelID].rotate(xRot, yRot, zRot, worldAxisFlag, set);

The worldAxisFlag is a Boolean value to denote whether the model rotates around the world center (true) or the object center (false). Set, if specified, is the name of the defined vGroup the rotation is to performed on. If no vGroup is specified, the rotation is performed on the entire model. &sam=

//creates two cubes, translates them away from world center, then rotates both, one around the world center, one around object center


myWorld = new Flash3D(270, 200, 0);

myWorld.newModel("myCube1", "cube");

myWorld.newModel("myCube2", "cube");

myWorld.model["myCube1"].translate(100,0,0);

myWorld.model["myCube2"].translate(100,0,0);

_root.createEmptyMovieClip("spinner", 1000);

spinner.onEnterFrame = function() {

myWorld.model["myCube1"].rotate(0,2,0,1);

myWorld.model["myCube2"].rotate(0,2,0);

myWorld.render();

}