Chapter 4. Getting User Input and Using the Frame Listener

Until now, we always created scenes which were static and didn't have anything moving in them. We will change this with this chapter.

In this chapter, we will:

  • Learn what a FrameListener is
  • Learn how to process user input
  • Combine both concepts to create our own camera control

So let's get on with it...

Preparing a scene

Before adding moving things to our scene, we need a scene to add them to. So let's create a scene.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.40.17