Chapter 4. Getting Around the Virtual World
In this chapter, we're going to take the pawn we built in the previous chapter and get it moving through the world. We'll begin with a commonly employed teleport movement scheme and cover a wide range of tasks that go into setting it up. We'll learn about navigation meshes in our environment, how to set up input events in our project and use them in Blueprints, and how to build a player pawn Blueprint and get it moving around the world. Finally, we'll also explore an immersive seamless locomotion scheme that you can use to allow your players to move through the world without teleporting.
Throughout the course of this chapter, we'll be discussing the following topics:
- Navigation meshes—what they are, how to set them up in your level, and how to refine them
- How to set up a Blueprint for your player pawn, and how to create input events that your pawn can use
- How to perform traces, using both straight lines and curves, to find legal target locations in...