Navigating the scene with a mouse and a keyboard

If the settings.useInput() property is true, the flyCam camera becomes active, and you can navigate using the W, A, S, and D keys. The WASD navigation method is named after the four keys used on a QWERTY keyboard to mimic the layout of the arrow keys. WASD navigation is typically used in combination with a mouselook rotation.

Get jMonkeyEngine 3.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.