6

Creating Game Actors

Game actors are the main elements of video games; they are controlled by either players (player actors or player characters) or AI controllers (non-player characters). A game actor may be represented by either a skeletal mesh (a warrior character, for instance) or a static mesh (a spaceship, for instance). The interactions between various game actors make up the gameplay.

This chapter will mainly guide you in creating your own player character (PlayerAvatar) for Pangaea. You will start by creating the animation instance class in C++, and then based on it, you will create the animation blueprint.

For the new animation blueprint, you will add the State Machine and define the states’ animations. You will also set up the character’s ...

Get Unreal Engine 5 Game Development with C++ Scripting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.