Nagehan,

OrbitBehavior doesn't rotate the coordinate system but moves the
view platform around your origin. The simplest thing you may try
is to pass a flag to the OrbitBehavior constructor, something like:

OrbitBehavior orb=new OrbitBehavior(yourcanvas,orb.REVERSE_ALL);

or, instead of using an OrbitBehavior,you could just use a simple
MouseRotate behavior.

Your English is great! (At least, that's what I think being a Dutchman
myself).

Dirk

----- Original Message -----
From: "nagehan pala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 5:11 PM
Subject: [JAVA3D] OrbitBehavior and PickBehavior


> hi
>
> There are some shapes in my scene. I use a button for changing behaviors.
> First, PickTranslateBehavior, PickZoomBehavior and PickRotateBehavior are
> used for moving the selected shape. When the button is pressed, these
> behaviors are detached and OrbitBehavior is set. Then, the scene  can be
> rotated, translated or zoomed.
>
> When the scene is rotated, also coordinate system is rotated. If you press
> the button again, PickTranslateBehavior, PickZoomBehavior and
> PickRotateBehavior are set. When you select a shape and drag it to the
> right, the shape doesn't move to the right, as expected.
>
> I want that, when I select a shape and drag it to the right, the shape
moves
> to the right. When I use OrbitBehavior(rotates the coordinate system), is
it
> possible?
>
> sorry for my bad english
>
> nagehan
>
> _________________________________________________________________
> High-speed Internet access as low as $29.95/month (depending on the local
> service providers in your area). Click here.   https://broadband.msn.com
>
>
===========================================================================
> 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