C
Carsten Marx
Hello,
for an expert in Java3D this might be an easy question. For me, novice,
it's driving me nuts...
Problem:
I have a StartPoint (sx,sy,sz) and a EndPoint (ex,ey,ez).
- I've created a Clylinder with some standard radius and the distance
between the two points as lenght.
- I've translated the Cylinder with Transform3D.setTranslation to the
right position.
- Now i want to rotate the Cylinder around the X,Y,Z axis to 'connect'
the two points withe the Cylinder.
For this rotation i need the angles to rotate and the way how (and in
which order) i must apply the rotations and translations....
Anybody out there whi has done this? Is not well documentated...
Please help me!!!
Thanks and best regards....
Carsten
for an expert in Java3D this might be an easy question. For me, novice,
it's driving me nuts...
Problem:
I have a StartPoint (sx,sy,sz) and a EndPoint (ex,ey,ez).
- I've created a Clylinder with some standard radius and the distance
between the two points as lenght.
- I've translated the Cylinder with Transform3D.setTranslation to the
right position.
- Now i want to rotate the Cylinder around the X,Y,Z axis to 'connect'
the two points withe the Cylinder.
For this rotation i need the angles to rotate and the way how (and in
which order) i must apply the rotations and translations....
Anybody out there whi has done this? Is not well documentated...
Please help me!!!
Thanks and best regards....
Carsten