How to access custom player controller from character class?

Jack_W_Lewis
Fri, 17 May 2019 09:39:53 +0000
C++

Hi,

How would I access my my custom player controller from my character class? In some peoples code I’ve seen people use something like this CPC->GetControlRotation(); for example. Where I assume CPC is the stored name for their CustomPlayerController. But without the rest of their code I can’t see how they actually access the controller.

Thanks,
Jack

5 posts - 1 participant