Hi all!
I have some problems with moving objects in java3D.
I tryed this code:
…extends Transvorm3D
public Transformer(Vector3f pos,double heading, double pitch, double bank) {
Transform3D t = new Transform3D();
t.rotZ(bank);
this.mul(t);
t.rotX(pitch);
this.mul(t);
t.rotY(heading);
this.mul(t);
t.set(pos);
this.mul(t);
}
the problem is that the object will not correctly moved, because it will rotated first z, then x and then y.
Is it possible to rotate it x, y and z at the same time?
(without much math)
thanks,
bienator