Hi, Nicolas,

I'm working on a similar problem at the moment. I found in the
Transform3D class there is a 'lookAt' method (If I remember Right).

After you've got the view Transform, you could use this method
to re-direct it, so that your end up looking at the correct object.

Hope this helps

Andy

P.S. I'll be interested to know how you are going about updating your
scene from your dynamic data.

            _           __
           / \    ____  \ \__    __
          / O \  / _  \/   \ \  / /
         /  _  \/ / / /  O  \ \/ /  [EMAIL PROTECTED]
         \_/ \_/_/ /__\_____/\  /  University Of York
           __________________/ /  Flight Control Systems Lab
           \__________________/

On Fri, 7 Apr 2000, Nicolas Trichaud wrote:

> Hi,
>
> This is my problem: I have a world that contains many objects who move
> according some dynamics external data.
> I succeed in attaching my view point to the object I pick but now, I'd
> like to move around the picked object "from its local coordinates" (ie:
> if the object moves, my view point moves with it).
>
> Since I could access to the TransformGroup of my viewing platform
> >       TransformGroup tg = simpleU.getViewingPlatform().getViewPlatformTransform();
> I try to modify it within the methods of a MouseBehavoir. Alas, I stay
> glued to my object.
>
> How to do?
>
> ===========================================================================
> 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".
>

===========================================================================
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