ABSTRACT

The player character is one of the essential parts of the game. Unreal Engine provides a set of classes to help create player characters fast. The Engine provides a robust framework that allows one to organize classes and data. Just like characters, pawns can also be possessed, but a pawn does not have a mesh component, and it cannot move out of the box. The Default Pawn Class of the game mode determines the class of the Pawn the players are going to possess when the game starts. When a player joins the game, the game mode creates an instance of the controller class specified in the Player Controller Class member variable in the game mode. This PlayerContoller is the representation of the player. As long as the player stays in the game, the PlayerController remains in the game as well.