Moien On Sunday 07 March 2004 21:16, you wrote: > how do u rotate a cylinder? i used rotX for a cube but it doesn't seem to > have any effect on a cylinder
TransformGroup TG = new TransformGroup(); Transform3D TR3D = new Transform3D(); //one of: TR3D.rotX(0.5); TR3D.rotY(0.5); TR3D.rotZ(0.5); TG.setTransform(TR3D); TG.addChild (new Cylinder (....)); If you rotate a cylinder standing upright on the X-axis it doesn't really show, because well,... it's a cylinder. So try rotY or rotZ. cu =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
