[Papervision3D] how to return the displyobject objects to the scene?
blackdice
ih32_32 at hotmail.com
Sat Mar 29 04:38:50 PST 2008
how to return the displyobject objects to the scene?
lets say that we have 3 cubes i added them to the scene
scene.addChild(cube1);
scene.addChild(cube2);
scene.addChild(cube3);
Then put them to DisplayObject3D
var rootNode = scene.addChild( new DisplayObject3D( "rootNode" ) );
rootNode.addChild( cube1, "cube1" );
rootNode.addChild( cube2, "cube2" );
rootNode.addChild( cube3, "cube3" );
after that i rotated the DisplayObject3D
rootNode.rotationZ = 90
i want all the cubes to return back to the scene with their new rotation and
position?
--
View this message in context: http://www.nabble.com/how-to-return-the-displyobject-objects-to-the-scene--tp16369487p16369487.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D
mailing list