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

Get Unreal Engine: Game Development from A to Z 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.