I tried to do the following:
...
Point3d position=new Point3d(0.0, 0.0, 0.0);
Transform3D transformPos= new Transform3D();
shape.getLocalToVworld(transformPos);
transformPos.transform(position);
I know that the shape move from 0,0,0 to -2,0,-2 (I'm using a
PositionPathInterpolator).
When I dump the position on screen, it starts a -0.8,0.0,-0.8
and finishes at the same point... This is obviously not correct as the
shape moved in the scene from 0,0,0 to -2,0,-2.
What am I doing wrong?
Thanks,
Chris.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/