I put together a tutorial a while back that covers some basic game-oriented J3d 
- it's not quite the same but you should be able to adapt the navigation 
behaviour from that fairly easily.

http://www.newview.co.uk/e/tutorials/java3d/index.jsp

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Mark Ettinger
Sent: 17 December 2004 01:53
To: [EMAIL PROTECTED]
Subject: [JAVA3D] FPS navigation


My goal is to navigate through a virtual world using standard, modern
first person shooter navigation, i.e. W = forward, S = back, A =
strafe left, D = strafe right, and the mouse rotates the view about
the player's "center of gravity".

Now I'm no Java3D expert but I have not been able to find such a
behavior either in the API or publically available code and this
really surprises me.  I believe I want a ViewPlatformAWTBehavior as
the modifications should occur on the view side.

OrbitBehavior does not seem to work because it rotates around the
"point of interest", not the viewer, and I cannot see how to update
the point of interest dynamically.  MouseRotate modifies the
scene-side and so I don't think it does what I want.

Have I overlooked something obvious?  Many thanks......

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