Eric Reiss:
I have modified your code.  I hope the attached files don't get confused
since they have the same names.

I believe what you wanted was the Orbit behavior, not the rotate.
You seem a little confused about the difference.

If you attach a rotate to an object, it will rotate.  If you attach a rotate
to the viewplatform, it will rotate like when you sit in a spinning office
chair.  This is what you did and it was working correctly but not what you
were expecting.

I think you want to rotate around the object which is called orbiting.  The
object is like the sun and you want to be a planet orbiting the sun and
always facing it.

In the modified version of your example, since you only have one object in
the scene, it appears that the object is rotating, but trust me, it is the
viewplatform rotating around the object.

Bobby:
Er, don't you mean the ViewPlatform is rotating in place?  You seem to be
trying to clear up the confusion here and that comment seems a little
confusing.  When you rotate the ViewPlatform and look at a stationary
object, it looks as if the object is orbiting around the viewer.  It's like
being on the Earth looking up at the stars - it looks as if the stars orbit
the Earth, but in fact the earth is revolving (rotating in place).


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.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".

Reply via email to