Setting up the character
Before I start writing about topics such as connections, authority, and roles, I need you to properly set up the player character – at the moment, our poor hero is just represented by an empty class!
So, in this section, you will add a camera and some user input and set up the main functionalities that will allow the thief character to move around the level in search of treasures and gold!
Adding basic settings to the character
In the next few steps, you’ll add the components that will make up the third-person camera behavior and implement their logic. After that, you’ll set some default values for the components that are already available in the Character class: the Arrow, Capsule, and SkeletalMesh components.
Adding a Camera component to the character
To get started, open the US_Character.h
header class. You will be adding a Camera component and a Spring component that will connect the camera to the Capsule component available...