Hi Nicolas,
I think the best way to move your viewpoint with an object is to create a
scenegraph with a path from the Locale down to your Viewplatform where your
object is somewhere ´between´ these two nodes:
Locale
->..
-->TransformGroup
--->yourObject
------>...
----------->Viewplatform
Now,when changing the TransformGroup above yourObject with an
Interpolator-object your viewplatform does not change its position
relatively to yourObject.
Unfortunately, I am no fan of the SimpleUniverse, so I cannot tell you how
to build this scenegraph branch with this class.
Regards,
Marco.
----- Original Message -----
From: Nicolas Trichaud <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 07, 2000 3:39 PM
Subject: [JAVA3D] navigate from a mouving point
> 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".