Does anyone know (have code) how to get OrbitBehavior to work with a
VirtualUniverse?

I know how to get it to work for a SimpleUniverse:
    ViewingPlatform viewingPlatform = simpleuniv.getViewingPlatform();
    BoundingSphere infiniteBounds = new BoundingSphere(new Point3d(),
Double.MAX_VALUE);
    orbit = new OrbitBehavior(canvas3D,OrbitBehavior.REVERSE_ALL);
    orbit.setSchedulingBounds(infiniteBounds);
    viewingPlatform.setViewPlatformBehavior(orbit);

BUT, VirtualUniverse does not have a ViewingPlatform

Any ideas?

   Mario

Mariusz Zaczek
NASA - Johnson Space Center
Automated Vehicles and Orbit Analysis / DM35
Flight Design and Dynamics Division
Mission Operations Directorate
Bldg: 30A     Room: 3040A

Disclaimer: "The opinions, observations and comments expressed in my email
             are strictly my own and do not necessarily reflect those of
NASA."

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