Hi All

I am trying to set up an app. in which objects need to have certain
synchronized behaviors. Here is a small example.

Consider 2 objects obj1 and obj2. obj1 has a picking rotation behavior only,
while obj2 has all 3 picking behaviors. Additionally, the rotations of obj1
and obj2 should be synchronized irrespective of
which of these get picked. I tried to achieve the above with the
following scenegraph:

      rootBG
       |
       |
      rotBG ( has pick rotation beh.)
       |
      transBG ( has pick trans beh.)
       |
      zoomBG ( has pick zoom beh.)

I added obj1 to rotBG as in the above graph, and obj2 to zoomBG.

This is what I found out when I ran the app. If obj1 is the only
one on the canvas, then things work as intended, i.e., obj1
rotates "in place" without any response to translation or zoom.
When obj2 is introduced on the canvas, the rotations of obj1 and
obj2 are indeed synchronized when manipulating either of them
with the left-mouse button; HOWEVER, when translating or zooming
obj2, obj1 also begins to translate and zoom (which was not
intended).

Any ideas to resolve this problem would be appreciated.

Raj, PhD

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".

Reply via email to