Book Image

JMonkeyEngine 3.0 Cookbook

By : Rickard Eden
Book Image

JMonkeyEngine 3.0 Cookbook

By: Rickard Eden

Overview of this book

Table of Contents (17 chapters)
jMonkeyEngine 3.0 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Cameras and Game Controls

This chapter contains the following recipes:

  • Creating a reusable character control

  • Attaching an input AppState object

  • Firing in FPS

  • Firing non-instant bullets

  • Creating an RTS camera AppState object

  • Selecting units in RTS

  • Making the camera follow units

  • Following a character with ChaseCamera

  • Adding a game controller and joystick input

  • Leaning around corners

  • Detecting cover automatically in a third-person game