Ah, yes, that's it. I noticed the problem after translating as well.
Plus, the private member should be made public.
-Lee
> -----Original Message-----
> From: Ingo Brunberg [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 11:33 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Resetting OrbitBehavior
>
>
> I had a look at the source of the OrbitBehavior class that is coming
> with Java 3D 1.2.1_01. It has a private method called
> resetViewPosition(), which is called when the behavior is attached to
> the Viewplatform or when the target transform is changed. It changes
> the internal state of the OrbitBehavior, so that it works perfectly
> when you change the rotation and zoom of the target transfrom, but it
> does not take translations into account!!!
> I know it's no simple mathematics, but is it not possible to reset the
> translation as well?
> I wished the guy at SUN, who is responsible for this class, could
> implement this.
>
> Regards,
>
> Ingo
>
> ==============================================================
> =============
> 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".