Hi,
I have an object that specifies a table, I want to be
able to create an array of these objects (the uses
says how many). Then these objects are placed in the
scene.
I have the following snippit of code:
Table[] table = new Table[tableNo];
for(i = 0; i > tableNo; i++)
{
tmpVector2.set((-2.0f + i), 0.0f, 0.0f);
objRoot.addChild(table[i].Furniture(tmpVector2));
//Furniture is a method within the class table
//that set the position of the table within the
scene.
}
It all compiles but my tables don't appear.. Can I
have arrays of objects in this way? I tried using just
the Box() function but this won't work as an array
either...Hmmm
any ideas
cheers
KP
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
===========================================================================
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".