How to access Actor from Controller C++

I have a custom player controller and need to access GetActorRotation but it is inaccessible. Am I better off just doing what I need to do in the character class?

You can use GetPawn() to get the Pawn controlled by the Controller (and a Pawn is a subclass of AActor)

So would GetPawn()->GetActorRotation().Vector(); work fine?

Yup although you might have to include pawn.h and actor.h (I don’t remember their exact paths but you can find them in the documentation website)