Cast a Character from the PlayerController.

I’m migrating the inputs to the PlayerController, but I’ve seen something that hasn’t worked for me.
I understand that it is GetPawn, but for some reason in my Blueprint which extends from PlayerController == APlayerController, I am unable to execute GetPawn. For some reason I have to use GetControlledPawn. Does anyone know why?


EU5.2.1

According to the documentation:

AController
It has “GetPawn()”

APlayerController inherits from AController

But I can’t use “GetPawn()” on the Blueprint

GetPawn is the function you’re calling when you call GetControlledPawn.
It just has a different display name for blueprints:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.