Problem with RotationInterpolator
I'm using Rotationinterpolator for rotating a TransformGroup. It should rotate around an certain angle; after that it should move further after clicking on a button.
Unfortunally it stops after the first rotation and I don't know how to get it moving further...
I'm using the following code for rotating around the Z-axis.
Transform3D rotatorTransform3D = new Transform3D();
rotatorTransform3D.rotX(java.lang.Math.PI / 2.);
rotator.setAlpha(new Alpha(1, 3000));
This just works for the first time...after that nothing moves anymore...
What's my fault?