Query with Line Traces
In previous chapters, we learned about how we can reproduce the Third Person template project offered to us by the Unreal Engine team in order to understand some of the basic concepts of UE5’s workflow and framework.
In this chapter, you will start creating another game from scratch. In this game, the player will control a character from a top-down point of view (similar to games such as Metal Gear Solid 1, 2, and 3). A top-down perspective implies that the player controls a character that is seen as if it was being looked down upon, usually with the camera rotation being fixed (the camera doesn’t rotate). In our game, the player character must go from point A to point B without being hit by dodgeballs, which are being thrown at the player by the enemies that are spread throughout the level. The levels in this game will be maze-like in nature, and the player will have multiple paths to choose from, all of which will have enemies trying to throw...