> okay, i've got the transform and u suggest transforming the
> vector(0,0,-1) to work out how this vector maps in 3D space. From the new
> vector, I can find angle between the two vectors, and hence find the angle
> of rotation about the y axis. Is this correct???.
yes, almost, i forgot to mention that you need only the rotational part of the
matrix, since it contains also the translation of the Viewplatform. The
translational part is not necessary to determine the direction.
> Is this the only way to
> extract the rotation angle?? or is there a simpler method.
I don't know where you set the transformation of your Viewplatform. But since you
have to construct some Matrix (= Transform3D) there and asuming there are no other
TransformGroups above, you can store/calculate the angles in this part of your
code.
===========================================================================
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".