O'Reilly logo

Unreal Engine Game Development Cookbook by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Navigating the viewport

Now that we have an understanding of what the UI actually is all about, let's work with the viewport and learn how to move around and use it.

How to do it…

To get started, let's first try to move around in the game world a bit by using just the mouse:

  1. Inside the viewport, with the left mouse button clicked and held, move your mouse forward and you should notice the level moving as well. If you move your mouse backward, you should notice that the camera is moving in the same way, and when we move the mouse to the left and right, the camera turns, it doesn't move.
  2. Holding the right mouse button and moving the mouse will rotate the viewport camera in a similar manner to a First-Person Shooter (FPS) game. Moving the mouse up and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required