Daniel,

The view is jumping to look at the center of rotation, which by default
is (0, 0, 0).  Try changing your center of rotation.

andrea


"R�mer, Daniel" wrote:
>
> Hi,
>
> I have a problem with the OrbitBehavior class.
>
> For that I created a simple scene with a colorcube.
> Now I added the OrbitBehavior and I translated the viewer position to
> somewhere
> else. But after clicking with the mouse the cube jumps back to center.
> This only effects the translation in X and Y direction. The translation in
> Z direction doesn�t jump back!
>
> I�am using JDK 1.3.1 and Java 3D API 1.2.1_01. I attached the source code
> for
> this problem.
>
> Don�t know what I�am doing wrong? Or is it a Java 3D Bug?
>
> Thanks, Daniel!
>
>  <<Buggy.java>>
>
>   ------------------------------------------------------------------------
>
>    Buggy.javaName: Buggy.java
>              Type: unspecified type (application/octet-stream)

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