Pawn
Pawn is a child class of Actor. A Pawn class is an Actor class that can be possessed by a Controller. The Controller class represents a player or AI (artificial intelligence). For each instance of the Pawn class, there is an instance of the Controller class. Conceptually, the Pawn class is the physical body, while the Controller class is the brain.
Create a Blueprint based on the Pawn class and click the Class Defaults button to display it on the Details panel. The parameters that are inherited from the Pawn class are shown in the following screenshot. These parameters show that the Pawn class can use the rotation values of the Controller class that is possessing it, thus indicating how a Controller class possesses a Pawn class:
The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access