The Pawn class is the base class of all Actors that can be controlled by players or AI. A Pawn is the physical representation of a player or AI entity within the world.
This not only means that the Pawn determines what the player or AI entity looks like visually, but also how it interacts with the world in terms of collisions and other physical
interactions. This can be confusing in certain circumstances as some types of games may not have a visible player mesh or avatar within the game. Regardless, the Pawn still
represents the physical location, rotation, etc. of a player or entity within the game. A Character is a special type of Pawn that has the ability to walk around.
By default, there is a one-to-one relationship between Controllers and Pawns; meaning, each Controller controls only one Pawn at any given time. Also, Pawns spawned during gameplay
are not automatically possessed by a Controller.
In Blueprints, the best way to add movement to your Pawn-derived class is with SetActorLocation. With SetActorLocation, you can decide if you want to teleport to the location, or sweep.
When sweeping, your Pawn will move along the direction and stop if it hits something.