There is a "bug" in the current KeyNavigator.java code, depending on how
one wants to define the semantics of rotation. While a more complete
re-write is underway, a single line change we found may give the
behavior you want.

Change the line:
    vpQuat.mul(lrQuat, vpQuat);
to
    vpQuat.mul(vpQuat, lrQuat);

this will change the semantics from "rotate about the y-axis of the current
view platform coordinates" to "rotate about the y-axis of the current
world coordinates" which may be a more approprate semantics for you. Note
that this difference only applies if the page-up/down keys have been
pressed, if not, the y-axis of both coodrinates are the same.

The changed semantics more closely match that of most computer games, in
which the page-up/down keys change the pitch of one's head in the virtual
environment, but do not change the angle of one's body relitive to the
ground plane.

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