The Unreal Character Class
Before we talk about the Unreal Character
class, let's briefly touch on the concept of inheritance. If you're used to working with C++ or another similar language, you should already be familiar with this concept. Inheritance is the process whereby a class derives characteristics and behavior from another class. A C++ class can be extended to create a new class – the derived class – that retains properties of the base class and allows for these properties to be modified, or for new characteristics to be added. An example of this is the Character
class.
A Character
class is a special type of pawn and is a descendant of the Unreal Pawn
class. Extending upon the Pawn
class, the Character
class has some movement capabilities by default, along with some inputs that add movement to the character. As standard, the Character
class gives users the ability to get a character to walk, run, jump, fly, and swim within the created world.
Since...