Why don't you look into the source code of OrbitBehavior ? I didn't have any
problems modifying it to suit my needs. What you're saying is simple to
realise, actually you'll only have to remove some code from OB.

Cheers,

Florin

-----Ursprungliche Nachricht-----
Von: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Auftrag von Nick Stark
Gesendet: Mittwoch, 25. August 2004 16:03
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] Custom Orbit Behavior Question


I have been working on creating a custom orbit behavior for some time now,
but I have not been able to accomplish the desired effect.

I want to modify the orbit behavior to work like the following:
Moving the mouse up and down: Rotate the view about the world x axis (no
matter where that world x axis may be in relation to the viewer)
Moving the mouse left and right: Rotate the view about the world origin as
if I were moving around a latitude line of a globe, always looking towards
the center of the globe.

If anyone has done anything like this successfully and has some suggestions
or sample code, I'd really appreciate it.

Thanks a lot.

Nick

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

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