Mark Beckman wrote:

> Questions:
> (1)  How would I move that "viewer's head" to lets say
> somewhere in positive x (y=0,z=0) looking in the
> negative x direction? or vice versa, neg x looking in
> pos x...

    TransformGroup viewTransformGroup = new TransformGroup();

viewTransformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);

viewTransformGroup.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);

    Transform3D startPosition = new Transform3D();
    startPosition.setTranslation(position);
    viewTransformGroup.setTransform(startPosition);

    viewTransformGroup.addChild(viewplatform);

... and then add the TransformGroup to your world. When you want to
change the position from your gui, just call
setTransform() again.

Niklas

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to