http://nwn-j3d.sourceforge.net/misc/FreeLook.java

Blocked y angle.

I have already forgotten I could write so bad code - looking at this
class was a real pain.

[Mind note:
Project 123456: Write a good FreeLook class.
ETA: next century...
]

Please - FreeLook is just a proof of concept (that java.awt.Robot can be
used for FPS-like control). It was not meant to be used in any projects.
Can you consider rewriting it from the scratch ? Use per-frame behaviour
instead of swing timer, add some inertiam, clean up transforms, listen
to events as java3d behaviour, not direct listener. You will probably
need to modify it anyway, if you want to implement terrain following, so
you can as well do it well from very start :)

Artur

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