hi,
I've tried to make up a car just by using shapes like Boxes and Cylinders. It is only a dummy. I am going to replace it when I have learned how to use Blender ;))
But: Why are my Cylinders not visible?
model=new Node("Car");
Box b=new Box("chassis", new Vector3f(0, 0, 0), 2, 0.1f, 1);
model.attachChild(b);
Cylinder[] raeder=new Cylinder[4];
raeder[0]=new Cylinder("Rad0", 1, 12, 0.2f, 0.1f);
raeder[0].setLocalTranslation(new Vector3f(0f, 0f, -0.1f));
model.attachChild(raeder[0]);
raeder[1]=new Cylinder("Rad1", 1, 12, 0.2f, 0.1f);
raeder[1].setLocalTranslation(new Vector3f(0f, 0f, 1f));
model.attachChild(raeder[1]);
raeder[2]=new Cylinder("Rad2", 1, 12, 0.2f, 0.1f);
raeder[2].setLocalTranslation(new Vector3f(2f, 0f, -0.1f));
model.attachChild(raeder[2]);
raeder[3]=new Cylinder("Rad3", 1, 12, 0.2f, 0.1f);
raeder[3].setLocalTranslation(new Vector3f(2f, 0f, 1f));
model.attachChild(raeder[3]);
The Box is visible, but the cylinders aren't what is the problem? I think the cylinders should be at the corners of the box, shouldn't they?
Thanks for help,
campino