Dear vasu
  One way to do what you are attempting is to have a TG at (0,0,0) which
has as a child the TG of your viewplatform. You should set the TG of
your viewplatform to an offset from origin (eg. (0,0,1)) Now if you
rotate the parent TG, your viewplatform will rotate around the origin.
suggested hierarchy:
  1-TransformGroup (parent)   // to be rotated
        1.1-TransfromGroup(parent of viewplatform)  // offset by (0,0,1)
                1.1.1-ViewPlatform // holds the view

Try it. I hope that it will help.
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to