If you want to get the rotation of your character, you must use the following function inside the class that inherits ACharacter.
GetActorRotation();
Unreal Engine 4 Documentation :
For your camera to follow your character you can simply attach.
If you want to get the rotation of your character, you must use the following function inside the class that inherits ACharacter.
GetActorRotation();
Unreal Engine 4 Documentation :
For your camera to follow your character you can simply attach.