If I understand you correctly what you want is for a Vector3d to be
facing the same direction. Do you want the vector in local or world
coordinates?
Assuming local coordinates then you could build a Transform3D using
your axis angle and then use it to transform a vector pointing along
the -Z axis.
If you want world coordinates then you need to apply your axis angle
to the TransformGroup, get its local-to-vworld transform, and then use
this transform to transform the -Z vector.
good luck
--jon
> Date: Wed, 15 Sep 1999 16:57:08 +0200
> From: Ale <[EMAIL PROTECTED]>
> Subject: Rotation
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_001F_01BEFF9B.588E7F20
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
> I've set up a Transform3D to rotate an object using a AxisAngle4d(used =
> in setRotation metod) ,there is a way to create a Vector3d facing the =
> same thirection?
> I need this vector to translate the object in the direction is facing.
____________________ Peculiar Technologies ____________________
Jon Barrilleaux 3800 Lake Shore Ave. Purveyors of
[EMAIL PROTECTED] Oakland, CA 94610 Alternate Reality
510.444.4370 voc Augmented Simulation
510.444.0231 fax www.augsim.com and 3D Solutions
===========================================================================
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".