This email answers several OrbitBehavior questions...

> Zak wrote:
>
> How can I swap the way the mouse moves? Whenever I move it left it
> (the object ) goes right. I want it to go the way the mouse does...
>
> Thanks in advance
>

That is because you are actually moving the view instead of the object,
so the view goes right and the object appears to go left.  You can
change this, though, by setting the REVERSE_ROTATE, REVERSE_TRANSLATE
and/or REVERSE_ZOOM flags when you construct your OrbitBehavior.

There are a number of other options on the OrbitBehavior, check out the
documentation.  The docs for OrbitBehavior and ViewPlatformBehavior are
in the 1.2.1 beta2 docs.  Go to the com.sun.j3d.utils.behaviors.vp
package.  These classes are new to 1.2.1 beta2 so will not be in earlier
docs.

Also, there are some new methods in ViewingPlatform to support the new
ViewPlatformBehaviors.  See the docs for ViewingPlatform (package
com.sun.j3d.utils.universe).  Call
setViewPlatformBehavior(ViewPlatformBehavior), passing it your
OrbitBehavior, to add the behavior to the scene graph.

The example programs included in the 1.2.1 beta2 java3d installation
have been modified to use the new OrbitBehavior, so check those out for
examples.  Try Text3D, for example.

I hope this cleared up some of your problems.  Let me know if you have
any more OrbitBehavior questions.

andrea
java3d dev team

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