Java3Dで回転する飛行機のプロペラを作成しようとしています。現在、原点を中心に回転しています。ただし、それ自体を中心に回転させる必要があります。私はJavaで3Dグラフィックスをあまり行っていないので、かなり困惑しています。
TransformGroup rotateTheBlades = new TransformGroup();
rotateTheBlades.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
Alpha rotationAlpha = new Alpha(-1,5000);
RotationInterpolator rotator = new RotationInterpolator(
rotationAlpha,rotateTheBlades);
Transform3D abc = new Transform3D();
abc.rotZ(Math.PI/2);
rotator.setTransformAxis(abc);
rotator.setSchedulingBounds(new BoundingSphere());
rotateTheBlades.addChild(rotator);
rotateTheBlades.addChild(propeller);
sceneBG.addChild(rotateTheBlades);
どんな助けでも大歓迎です。PS:私はそれを前後に原点に翻訳しようとしましたが、何もしていないようです。