Hello all,

I was hoping someone good give me some direction in dealing with the
PickTranslateBehavior in Java3D.

I have a 3D scene graph with a 16 spheres (representing control points on a
surface).  To this I have attached a pickTranslateBehavior on the root, so
I can move any of the spheres.

However, in the scene graph, I also have a MouseRotate and MouseZoom
behavior attached to the root graph to allow the user to view the surface
from any angle.

My problem is as follows:

If I rotate around the scene so I am looking at the scene from somewhere
other than the XY plane, the PickTranslateBehavior does not adjust
itself.     For example.  In its initial state, I can grab a sphere and
move it up, down, left, right, and it will follow the mouse, as
expected.   However, if I rotate the scene 180 degrees and flip, the
translation does not adjust.  In this case, picking a sphere and dragging
the mouse right will move the sphere left.  Dragging up moves the sphere
down, etc.

Is there a way I can configure the PickTranslateBehavior to always move the
selected object in a plane which is parallel to the view?

Thanks for your help,

John O'Hara

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