Hi Everybody

I'm doing my project. It's have player so, player have many action.
I program it but it's not work. Because i send Colorcube to TransfromGroup
anytime.
So have a lot Colorcube. I think i want to hide Colorcube which have used
already.

Example my programe
public TransformGroup actionRun (ColorCube c, Point3f[] positions, int
delay){ ......}

TransformGroup t = new TransformGroup();
t.addChild(actionRun(new ColorCube(0.1),positions, 3000));
t.addChild(actionRun(new ColorCube(0.2),positions2,17000));
t.addChild(actionRun(new ColorCube(0.2),positions2,33000));
bgRoot.addChild(t);

I want one model have many actions by not have a lot of Colorcube.

Thanks for advise
ICE

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

===========================================================================
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".

Reply via email to